Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001293/0.001293, allocations: 93.41 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001668/0.001668, allocations: 202.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.7 MB / 247.5 MB, free: 11.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002477/0.0002479, allocations: 11.98 kB / 308.4 MB, free: 0.7461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08734/0.08761, allocations: 51.52 MB / 359.9 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003025/0.09068, allocations: 2.766 MB / 362.7 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.09214, allocations: 0.795 MB / 363.5 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002073/0.09237, allocations: 4 kB / 363.5 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001614/0.09254, allocations: 39.69 kB / 363.5 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002576/0.09281, allocations: 99.3 kB / 363.6 MB, free: 9.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003095/0.09312, allocations: 107.9 kB / 363.7 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004492/0.09358, allocations: 434.3 kB / 364.2 MB, free: 8.969 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002268/0.09382, allocations: 119.5 kB / 364.3 MB, free: 8.852 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002935/0.09412, allocations: 151.3 kB / 364.4 MB, free: 8.703 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002248/0.09436, allocations: 171.1 kB / 364.6 MB, free: 8.535 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.256e-05/0.09442, allocations: 20 kB / 364.6 MB, free: 8.516 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.25e-05/0.09448, allocations: 20 kB / 364.6 MB, free: 8.496 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.992e-05/0.09454, allocations: 63.67 kB / 364.7 MB, free: 8.434 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.09472, allocations: 192.8 kB / 364.9 MB, free: 8.238 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003283/0.09506, allocations: 383.1 kB / 365.2 MB, free: 7.863 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.09507, allocations: 4 kB / 365.3 MB, free: 7.859 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.09508, allocations: 0 / 365.3 MB, free: 7.859 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.09509, allocations: 0 / 365.3 MB, free: 7.859 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001265/0.09636, allocations: 0.6743 MB / 365.9 MB, free: 7.133 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.09641, allocations: 8.031 kB / 365.9 MB, free: 7.125 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.924e-05/0.09651, allocations: 40.56 kB / 366 MB, free: 7.086 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.09691, allocations: 310.6 kB / 366.3 MB, free: 6.738 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.09695, allocations: 16.94 kB / 366.3 MB, free: 6.719 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.489e-05/0.09701, allocations: 32.38 kB / 366.3 MB, free: 6.688 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007917/0.09781, allocations: 367.6 kB / 366.7 MB, free: 6.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.09783, allocations: 0 / 366.7 MB, free: 6.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.516e-05/0.09787, allocations: 15.98 kB / 366.7 MB, free: 6.305 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.09789, allocations: 8 kB / 366.7 MB, free: 6.297 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008768/0.09877, allocations: 330 kB / 367 MB, free: 5.973 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002179/0.101, allocations: 1.311 MB / 368.3 MB, free: 4.578 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008368/0.1018, allocations: 367.5 kB / 368.7 MB, free: 4.191 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004211/0.1022, allocations: 156.8 kB / 368.9 MB, free: 4.035 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.1023, allocations: 4 kB / 368.9 MB, free: 4.031 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005096/0.1028, allocations: 208.8 kB / 369.1 MB, free: 3.809 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.533e-06/0.1028, allocations: 3.938 kB / 369.1 MB, free: 3.805 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.00219/0.105, allocations: 0.7175 MB / 369.8 MB, free: 3.059 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/0.1051, allocations: 106.8 kB / 369.9 MB, free: 2.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003062/0.1054, allocations: 298.9 kB / 370.2 MB, free: 2.629 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.1054, allocations: 29.7 kB / 370.2 MB, free: 2.594 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.1056, allocations: 212.2 kB / 370.4 MB, free: 2.379 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.665e-05/0.1056, allocations: 55.19 kB / 370.5 MB, free: 2.324 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.653e-05/0.1057, allocations: 29.7 kB / 370.5 MB, free: 2.289 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1058, allocations: 338.9 kB / 370.8 MB, free: 1.949 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003885/0.1062, allocations: 136.1 kB / 371 MB, free: 1.816 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004267/0.1066, allocations: 229.3 kB / 371.2 MB, free: 1.551 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007914/0.1074, allocations: 375 kB / 371.6 MB, free: 1.145 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.1074, allocations: 0 / 371.6 MB, free: 1.145 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001286/0.1087, allocations: 0.5114 MB / 372.1 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.014e-05/0.1088, allocations: 33.7 kB / 372.1 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.1088, allocations: 4 kB / 372.1 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003071/0.1091, allocations: 64.81 kB / 372.2 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002869/0.1094, allocations: 79.95 kB / 372.2 MB, free: 440 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1604/0.2698, allocations: 1.547 MB / 373.8 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000473/0.2703, allocations: 66.14 kB / 373.9 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.297e-05/0.2704, allocations: 12.14 kB / 373.9 MB, free: 18.11 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002279/0.2706, allocations: 160.9 kB / 374 MB, free: 18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.577e-05/0.2707, allocations: 26.67 kB / 374 MB, free: 18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.857e-05/0.2708, allocations: 29.97 kB / 374.1 MB, free: 17.99 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.2708, allocations: 2.281 kB / 374.1 MB, free: 17.99 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2708, allocations: 1.25 kB / 374.1 MB, free: 17.99 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.2708, allocations: 2.312 kB / 374.1 MB, free: 17.99 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001764/0.2726, allocations: 0.839 MB / 374.9 MB, free: 17.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2726, allocations: 1.344 kB / 374.9 MB, free: 17.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002429/0.2729, allocations: 52.62 kB / 375 MB, free: 17.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00025/0.2731, allocations: 65.3 kB / 375 MB, free: 17.67 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.2732, allocations: 6.391 kB / 375 MB, free: 17.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001689/0.2748, allocations: 1.544 MB / 376.6 MB, free: 16.42 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2749, allocations: 1 kB / 376.6 MB, free: 16.42 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0016/0.2765, allocations: 0.6206 MB / 377.2 MB, free: 16.26 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.357e-05/0.2766, allocations: 105.7 kB / 377.3 MB, free: 16.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.768e-05/0.2766, allocations: 8.703 kB / 377.3 MB, free: 16.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003088/0.2769, allocations: 46.31 kB / 377.4 MB, free: 16.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.94e-05/0.277, allocations: 20.22 kB / 377.4 MB, free: 16.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.277, allocations: 5.703 kB / 377.4 MB, free: 16.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002421/0.2773, allocations: 213.8 kB / 377.6 MB, free: 16.08 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2773, allocations: 0 / 377.6 MB, free: 16.08 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004232/0.2777, allocations: 80.77 kB / 377.7 MB, free: 16.07 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001228/0.2779, allocations: 106.8 kB / 377.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.2789, allocations: 474.6 kB / 378.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/0.279, allocations: 1.656 kB / 378.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004873/0.2795, allocations: 250.2 kB / 378.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.2799, allocations: 56.17 kB / 378.5 MB, free: 15.67 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002756/0.2827, allocations: 1.053 MB / 379.6 MB, free: 15.19 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.2829, allocations: 0.769 MB / 380.4 MB, free: 14.49 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.283, allocations: 23.53 kB / 380.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.283, allocations: 0 / 380.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of Templates: time 0.009792/0.2928, allocations: 5.229 MB / 385.6 MB, free: 13.57 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches