Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp1.out.v|opAmp1.out.i|opAmp2.out.v|opAmp2.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp1.out.v|opAmp1.out.i|opAmp2.out.v|opAmp2.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009124/0.0009124, allocations: 176.4 kB / 8.347 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 221.5 MB / 230.3 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008712/0.0008711, allocations: 93.83 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.559e-05/1.563e-05, allocations: 4 kB / 337.1 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08856/0.08859, allocations: 50.42 MB / 387.5 MB, free: 7.555 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3406/0.4293, allocations: 78.36 MB / 465.8 MB, free: 492 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003892/0.4297, allocations: 79.95 kB / 465.9 MB, free: 412 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02329/0.453, allocations: 5.282 MB / 471.2 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4531, allocations: 0 / 471.2 MB, free: 11.12 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.409e-05/0.4531, allocations: 4 kB / 471.2 MB, free: 11.11 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001179/0.4543, allocations: 0.5501 MB / 471.7 MB, free: 10.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.4544, allocations: 12.03 kB / 471.8 MB, free: 10.51 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.4545, allocations: 35.53 kB / 471.8 MB, free: 10.47 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005532/0.4551, allocations: 279.2 kB / 472.1 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.4551, allocations: 12 kB / 472.1 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.11e-05/0.4552, allocations: 24 kB / 472.1 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005782/0.4558, allocations: 194.2 kB / 472.3 MB, free: 9.934 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006998/0.4565, allocations: 269.3 kB / 472.6 MB, free: 9.656 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.4566, allocations: 0 / 472.6 MB, free: 9.656 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.853e-05/0.4566, allocations: 0 / 472.6 MB, free: 9.656 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/0.4567, allocations: 15.94 kB / 472.6 MB, free: 9.641 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00326/0.4599, allocations: 1.231 MB / 473.8 MB, free: 8.332 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006496/0.4606, allocations: 198.9 kB / 474 MB, free: 8.129 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004653/0.4611, allocations: 136.8 kB / 474.1 MB, free: 7.992 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.4611, allocations: 0 / 474.1 MB, free: 7.992 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.4612, allocations: 39.5 kB / 474.2 MB, free: 7.945 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 2.094e-06/0.4612, allocations: 0 / 474.2 MB, free: 7.945 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.001507/0.4627, allocations: 319.2 kB / 474.5 MB, free: 7.621 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.4628, allocations: 55.41 kB / 474.5 MB, free: 7.555 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003376/0.4631, allocations: 212.4 kB / 474.7 MB, free: 7.344 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/0.4632, allocations: 25.7 kB / 474.8 MB, free: 7.312 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.4634, allocations: 203.5 kB / 475 MB, free: 7.109 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.912e-05/0.4635, allocations: 71 kB / 475 MB, free: 7.039 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.683e-05/0.4635, allocations: 0 / 475 MB, free: 7.039 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.4637, allocations: 334.8 kB / 475.4 MB, free: 6.703 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.4639, allocations: 63.92 kB / 475.4 MB, free: 6.641 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.4641, allocations: 147.8 kB / 475.6 MB, free: 6.453 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.4643, allocations: 75.77 kB / 475.6 MB, free: 6.383 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.4644, allocations: 8 kB / 475.6 MB, free: 6.375 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001524/0.4659, allocations: 406.8 kB / 476 MB, free: 5.965 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005755/0.4665, allocations: 1.226 MB / 477.3 MB, free: 4.645 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/0.4665, allocations: 4 kB / 477.3 MB, free: 4.641 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004345/0.467, allocations: 77.62 kB / 477.3 MB, free: 4.559 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003437/0.4673, allocations: 59.84 kB / 477.4 MB, free: 4.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002716/0.4701, allocations: 1.965 MB / 479.4 MB, free: 2.395 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004138/0.4705, allocations: 43.73 kB / 479.4 MB, free: 2.352 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.4705, allocations: 12 kB / 479.4 MB, free: 2.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.4706, allocations: 4 kB / 479.4 MB, free: 2.336 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001005/0.4716, allocations: 273 kB / 479.7 MB, free: 2.066 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.4716, allocations: 4 kB / 479.7 MB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001897/0.4718, allocations: 57.7 kB / 479.8 MB, free: 2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003461/0.4722, allocations: 59.91 kB / 479.8 MB, free: 1.941 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002619/0.4748, allocations: 2.56 MB / 482.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002602/0.4751, allocations: 27.78 kB / 482.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.4751, allocations: 12 kB / 482.4 MB, free: 15.11 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.4753, allocations: 117 kB / 482.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.24e-05/0.4753, allocations: 19.72 kB / 482.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.051e-05/0.4754, allocations: 29.95 kB / 482.6 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4754, allocations: 0 / 482.6 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.4754, allocations: 0 / 482.6 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.4754, allocations: 3.953 kB / 482.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001455/0.4769, allocations: 0.682 MB / 483.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.4769, allocations: 0 / 483.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.4771, allocations: 23.98 kB / 483.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002221/0.4773, allocations: 77.69 kB / 483.4 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.4773, allocations: 0 / 483.4 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00364/0.481, allocations: 2.996 MB / 486.4 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.481, allocations: 4.062 kB / 486.4 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.4823, allocations: 485.4 kB / 486.8 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.4824, allocations: 112.8 kB / 486.9 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.4825, allocations: 0 / 486.9 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003103/0.4828, allocations: 28.16 kB / 487 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.088e-05/0.4829, allocations: 15.97 kB / 487 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.4829, allocations: 12 kB / 487 MB, free: 10.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001994/0.4831, allocations: 164.5 kB / 487.2 MB, free: 10.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4831, allocations: 0 / 487.2 MB, free: 10.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008998/0.484, allocations: 151.5 kB / 487.3 MB, free: 9.887 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001853/0.4842, allocations: 103.2 kB / 487.4 MB, free: 9.773 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00151/0.4858, allocations: 0.6824 MB / 488.1 MB, free: 9.062 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.4858, allocations: 0 / 488.1 MB, free: 9.062 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007737/0.4866, allocations: 373.2 kB / 488.5 MB, free: 8.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.4869, allocations: 32.41 kB / 488.5 MB, free: 8.645 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008232/0.4878, allocations: 378.3 kB / 488.9 MB, free: 8.246 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.4881, allocations: 0.7764 MB / 489.6 MB, free: 7.445 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001703/0.4883, allocations: 34.06 kB / 489.7 MB, free: 7.414 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.304e-05/0.4883, allocations: 19.44 kB / 489.7 MB, free: 7.398 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.4883, allocations: 0 / 489.7 MB, free: 7.398 MB / 362.7 MB Notification: Performance of Templates: time 0.007016/0.4954, allocations: 3.79 MB / 493.5 MB, free: 3.625 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/SignalGenerator/SignalGenerator.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches