Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 175.1 kB / 14.1 MB, free: 1.219 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.648/1.648, allocations: 205.2 MB / 219.8 MB, free: 14.22 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008389/0.0008391, allocations: 74.72 kB / 267.9 MB, free: 14.06 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.913e-05/2.914e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.106, allocations: 47.58 MB / 370 MB, free: 1.715 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.411/0.517, allocations: 83.34 MB / 453.4 MB, free: 10 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003184/0.5174, allocations: 75.95 kB / 453.4 MB, free: 9.965 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0764/0.5938, allocations: 18.58 MB / 472 MB, free: 8.586 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.228e-06/0.5939, allocations: 0 / 472 MB, free: 8.586 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.226e-05/0.594, allocations: 38.06 kB / 472 MB, free: 8.551 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.002817/0.5968, allocations: 1.135 MB / 473.2 MB, free: 7.367 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.013e-05/0.5969, allocations: 8.031 kB / 473.2 MB, free: 7.359 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003453/0.5973, allocations: 150.2 kB / 473.3 MB, free: 7.211 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/0.5989, allocations: 0.6331 MB / 474 MB, free: 6.531 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.599, allocations: 86.41 kB / 474.1 MB, free: 6.445 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002284/0.5993, allocations: 120 kB / 474.2 MB, free: 6.328 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003013/0.6023, allocations: 1.225 MB / 475.4 MB, free: 4.934 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.637e-05/0.6024, allocations: 7.938 kB / 475.4 MB, free: 4.926 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/0.6025, allocations: 52 kB / 475.5 MB, free: 4.875 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.334e-05/0.6026, allocations: 35.94 kB / 475.5 MB, free: 4.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001976/0.6046, allocations: 0.6385 MB / 476.1 MB, free: 4.203 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009522/0.6141, allocations: 6.852 MB / 483 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009737/0.6151, allocations: 257.3 kB / 483.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004475/0.6156, allocations: 165.6 kB / 483.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001655/0.6158, allocations: 85.05 kB / 483.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/0.6158, allocations: 46.55 kB / 483.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 3.817e-06/0.6159, allocations: 0 / 483.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.003077/0.6189, allocations: 1.275 MB / 484.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/0.619, allocations: 77.11 kB / 484.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.6201, allocations: 0.5663 MB / 485.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.78e-05/0.6202, allocations: 29.7 kB / 485.5 MB, free: 10.33 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006888/0.6209, allocations: 0.6837 MB / 486.2 MB, free: 9.633 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.621, allocations: 118.4 kB / 486.3 MB, free: 9.516 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.6211, allocations: 20 kB / 486.3 MB, free: 9.496 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002351/0.6213, allocations: 382.8 kB / 486.7 MB, free: 9.113 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003671/0.6217, allocations: 125.8 kB / 486.8 MB, free: 8.988 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007008/0.6224, allocations: 0.526 MB / 487.3 MB, free: 8.262 MB / 362.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y ($START.inverseCapacitor1.capacitor.v = $START.directCapacitor1.currentToVoltage.y) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y ($START.inverseInductor3.inductor.i = $START.directInductor3.currentToVoltage.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.0009109/0.6233, allocations: 433.2 kB / 487.7 MB, free: 7.805 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/0.6234, allocations: 8 kB / 487.7 MB, free: 7.797 MB / 362.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001867/0.6252, allocations: 0.7536 MB / 488.5 MB, free: 7.031 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.6253, allocations: 12 kB / 488.5 MB, free: 7.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.44e-05/0.6253, allocations: 12 kB / 488.5 MB, free: 7.008 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003268/0.6257, allocations: 82.3 kB / 488.6 MB, free: 6.922 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008266/0.6265, allocations: 187.7 kB / 488.8 MB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003189/0.6297, allocations: 2.959 MB / 491.7 MB, free: 3.508 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007542/0.6305, allocations: 40.11 kB / 491.8 MB, free: 3.469 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.931e-05/0.6306, allocations: 43.98 kB / 491.8 MB, free: 3.426 MB / 362.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002684/0.6309, allocations: 168.5 kB / 492 MB, free: 3.254 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001969/0.6311, allocations: 79.02 kB / 492.1 MB, free: 3.176 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/0.6313, allocations: 70.53 kB / 492.1 MB, free: 3.105 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.6313, allocations: 4 kB / 492.1 MB, free: 3.102 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.036e-06/0.6314, allocations: 4 kB / 492.1 MB, free: 3.098 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.6314, allocations: 4 kB / 492.1 MB, free: 3.094 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002916/0.6343, allocations: 1.224 MB / 493.4 MB, free: 1.797 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.6343, allocations: 11.92 kB / 493.4 MB, free: 1.785 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005939/0.635, allocations: 63.91 kB / 493.4 MB, free: 1.723 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002565/0.6352, allocations: 53.69 kB / 493.5 MB, free: 1.664 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.272e-05/0.6353, allocations: 16.11 kB / 493.5 MB, free: 1.648 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002718/0.638, allocations: 2.752 MB / 496.3 MB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.638, allocations: 3.984 kB / 496.3 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/0.6394, allocations: 0.6544 MB / 496.9 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001958/0.6396, allocations: 132.2 kB / 497 MB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.525e-05/0.6397, allocations: 8.062 kB / 497.1 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004197/0.6401, allocations: 23.98 kB / 497.1 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.6402, allocations: 27.92 kB / 497.1 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.173e-05/0.6403, allocations: 12 kB / 497.1 MB, free: 13.69 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008535/0.6412, allocations: 419.2 kB / 497.5 MB, free: 13.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6412, allocations: 0 / 497.5 MB, free: 13.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001705/0.6429, allocations: 156 kB / 497.7 MB, free: 13.14 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (inverseInductor3.inductor.i,inductor4a.i,inductor4b.i,directCapacitor1.currentToVoltage.y,capacitor2a.v,capacitor2b.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002511/0.6432, allocations: 115.2 kB / 497.8 MB, free: 13.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001448/0.6446, allocations: 0.6222 MB / 498.4 MB, free: 12.37 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6446, allocations: 0 / 498.4 MB, free: 12.37 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005932/0.6452, allocations: 353.2 kB / 498.8 MB, free: 12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005826/0.6458, allocations: 71.3 kB / 498.8 MB, free: 11.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003814/0.6497, allocations: 1.361 MB / 0.4885 GB, free: 10.53 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008542/0.6506, allocations: 1.058 MB / 0.4895 GB, free: 9.441 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00052/0.6511, allocations: 86.02 kB / 0.4896 GB, free: 9.355 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.6513, allocations: 59.42 kB / 0.4896 GB, free: 9.297 MB / 378.7 MB Notification: Performance of SimCode: time 7.02e-07/0.6513, allocations: 0 / 0.4896 GB, free: 9.297 MB / 378.7 MB Notification: Performance of Templates: time 0.0195/0.6708, allocations: 5.028 MB / 0.4946 GB, free: 4.266 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches