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.001026/0.001026, allocations: 113.8 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001135/0.001135, allocations: 206.8 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 60.14 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2145, allocations: 50.54 MB / 410 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003744/0.2183, allocations: 3.096 MB / 413.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.2195, allocations: 0.7988 MB / 413.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.2197, allocations: 4 kB / 413.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001456/0.2198, allocations: 55.44 kB / 413.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001923/0.22, allocations: 115 kB / 414 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.2203, allocations: 127.8 kB / 414.2 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004166/0.2207, allocations: 466.2 kB / 414.6 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002228/0.221, allocations: 142.9 kB / 414.7 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002575/0.2212, allocations: 187.3 kB / 414.9 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.2215, allocations: 191.1 kB / 415.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.16e-05/0.2215, allocations: 44 kB / 415.2 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.496e-05/0.2216, allocations: 48 kB / 415.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.467e-05/0.2216, allocations: 87.69 kB / 415.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.2218, allocations: 195.1 kB / 415.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003973/0.2222, allocations: 499.5 kB / 416 MB, free: 11.56 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2222, allocations: 0 / 416 MB, free: 11.56 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.2222, allocations: 0 / 416 MB, free: 11.56 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.2222, allocations: 0 / 416 MB, free: 11.56 MB / 334.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.001227/0.2235, allocations: 0.7188 MB / 416.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.2235, allocations: 8.031 kB / 416.7 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.315e-05/0.2236, allocations: 44.47 kB / 416.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003679/0.224, allocations: 310.6 kB / 417 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.224, allocations: 24.94 kB / 417.1 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.327e-05/0.2241, allocations: 24.38 kB / 417.1 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000711/0.2248, allocations: 355.5 kB / 417.4 MB, free: 9.984 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.2248, allocations: 0 / 417.4 MB, free: 9.984 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.799e-05/0.2248, allocations: 12 kB / 417.4 MB, free: 9.973 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.2248, allocations: 8 kB / 417.5 MB, free: 9.965 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007876/0.2256, allocations: 314 kB / 417.8 MB, free: 9.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001955/0.2276, allocations: 1.248 MB / 419 MB, free: 8.324 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007664/0.2284, allocations: 331.5 kB / 419.3 MB, free: 7.973 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004007/0.2288, allocations: 156.8 kB / 419.5 MB, free: 7.816 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.2288, allocations: 0 / 419.5 MB, free: 7.816 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004538/0.2293, allocations: 193.8 kB / 419.7 MB, free: 7.605 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.262e-06/0.2293, allocations: 0 / 419.7 MB, free: 7.605 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.002034/0.2313, allocations: 0.6432 MB / 420.3 MB, free: 6.934 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/0.2314, allocations: 110.8 kB / 420.4 MB, free: 6.801 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/0.2317, allocations: 291.2 kB / 420.7 MB, free: 6.512 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.2317, allocations: 33.7 kB / 420.7 MB, free: 6.473 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.2318, allocations: 207.9 kB / 420.9 MB, free: 6.266 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.471e-05/0.2319, allocations: 59.23 kB / 421 MB, free: 6.207 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.514e-05/0.232, allocations: 57.61 kB / 421.1 MB, free: 6.145 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.2321, allocations: 334.8 kB / 421.4 MB, free: 5.809 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003702/0.2325, allocations: 124.2 kB / 421.5 MB, free: 5.688 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003991/0.2329, allocations: 213.3 kB / 421.7 MB, free: 5.438 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000711/0.2336, allocations: 344.1 kB / 422.1 MB, free: 5.062 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2336, allocations: 0 / 422.1 MB, free: 5.062 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001195/0.2348, allocations: 483.7 kB / 422.5 MB, free: 4.574 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.2349, allocations: 37.7 kB / 422.6 MB, free: 4.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.2349, allocations: 4 kB / 422.6 MB, free: 4.527 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002796/0.2352, allocations: 60.81 kB / 422.6 MB, free: 4.465 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002679/0.2354, allocations: 71.95 kB / 422.7 MB, free: 4.395 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/0.2375, allocations: 1.639 MB / 424.3 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003218/0.2378, allocations: 63.7 kB / 424.4 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.2379, allocations: 16 kB / 424.4 MB, free: 2.539 MB / 334.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.0001508/0.238, allocations: 157.7 kB / 424.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.643e-05/0.2381, allocations: 27.66 kB / 424.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.829e-05/0.2381, allocations: 30.2 kB / 424.6 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2381, allocations: 0 / 424.6 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.2381, allocations: 0 / 424.6 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.2381, allocations: 4 kB / 424.6 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001463/0.2396, allocations: 0.7959 MB / 425.4 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.2396, allocations: 4 kB / 425.4 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/0.2398, allocations: 39.91 kB / 425.5 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000211/0.24, allocations: 64.84 kB / 425.5 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/0.2401, allocations: 4 kB / 425.5 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001859/0.2419, allocations: 1.632 MB / 427.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.242, allocations: 0 / 427.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/0.2433, allocations: 0.5631 MB / 427.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.965e-05/0.2434, allocations: 112.7 kB / 427.8 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.544e-05/0.2435, allocations: 8 kB / 427.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002684/0.2437, allocations: 35.95 kB / 427.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.155e-05/0.2438, allocations: 15.98 kB / 427.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.2438, allocations: 7.984 kB / 427.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001871/0.244, allocations: 206 kB / 428.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.244, allocations: 4 kB / 428.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003601/0.2444, allocations: 83.84 kB / 428.2 MB, free: 14.5 MB / 350.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.0001292/0.2445, allocations: 103.5 kB / 428.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009275/0.2455, allocations: 449.8 kB / 428.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.2455, allocations: 0 / 428.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004328/0.2459, allocations: 243 kB / 429 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.2463, allocations: 56.8 kB / 429 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002574/0.2489, allocations: 0.8593 MB / 429.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.2492, allocations: 0.7639 MB / 430.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.306e-05/0.2493, allocations: 27.44 kB / 430.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2493, allocations: 0 / 430.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of Templates: time 0.006416/0.2557, allocations: 5.339 MB / 436 MB, free: 6.586 MB / 350.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