Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 100 kB / 21.18 MB, free: 0.5195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 182 kB / 24.45 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 225.7 MB / 253.3 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 51.92 kB / 371.7 MB, free: 9.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2552, allocations: 52.18 MB / 423.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004506/0.2597, allocations: 2.866 MB / 426.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.2612, allocations: 0.7481 MB / 427.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.2614, allocations: 7.938 kB / 427.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001901/0.2615, allocations: 51.5 kB / 427.5 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002517/0.2618, allocations: 119 kB / 427.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003452/0.2621, allocations: 135.8 kB / 427.8 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005255/0.2627, allocations: 450.3 kB / 428.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002146/0.2629, allocations: 98.45 kB / 428.3 MB, free: 9.957 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002696/0.2632, allocations: 179.3 kB / 428.5 MB, free: 9.781 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002588/0.2634, allocations: 167.2 kB / 428.6 MB, free: 9.617 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.396e-05/0.2635, allocations: 48 kB / 428.7 MB, free: 9.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.62e-05/0.2636, allocations: 44 kB / 428.7 MB, free: 9.527 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.458e-05/0.2637, allocations: 91.62 kB / 428.8 MB, free: 9.438 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002025/0.2639, allocations: 155.3 kB / 429 MB, free: 9.285 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005807/0.2644, allocations: 0.5017 MB / 429.5 MB, free: 8.785 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2644, allocations: 0 / 429.5 MB, free: 8.785 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2644, allocations: 0 / 429.5 MB, free: 8.785 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.2645, allocations: 0 / 429.5 MB, free: 8.785 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.001456/0.2659, allocations: 0.6433 MB / 430.1 MB, free: 8.102 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.2659, allocations: 8.031 kB / 430.1 MB, free: 8.094 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.288e-05/0.266, allocations: 48.69 kB / 430.2 MB, free: 8.047 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004546/0.2665, allocations: 249 kB / 430.4 MB, free: 7.781 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.62e-05/0.2665, allocations: 21.03 kB / 430.4 MB, free: 7.762 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.719e-05/0.2666, allocations: 28.38 kB / 430.5 MB, free: 7.734 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008134/0.2674, allocations: 408.4 kB / 430.9 MB, free: 7.316 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.2674, allocations: 3.938 kB / 430.9 MB, free: 7.312 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.111e-05/0.2674, allocations: 15.94 kB / 430.9 MB, free: 7.297 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.2675, allocations: 8 kB / 430.9 MB, free: 7.289 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009006/0.2684, allocations: 306.4 kB / 431.2 MB, free: 6.988 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002205/0.2706, allocations: 1.082 MB / 432.3 MB, free: 5.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008153/0.2714, allocations: 246.3 kB / 432.5 MB, free: 5.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000434/0.2718, allocations: 136.8 kB / 432.6 MB, free: 5.453 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.215e-05/0.2718, allocations: 0 / 432.6 MB, free: 5.453 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005467/0.2724, allocations: 249.2 kB / 432.9 MB, free: 5.176 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.442e-06/0.2724, allocations: 0 / 432.9 MB, free: 5.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.002213/0.2746, allocations: 0.5637 MB / 433.5 MB, free: 4.605 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.172e-05/0.2747, allocations: 110.8 kB / 433.6 MB, free: 4.473 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003524/0.275, allocations: 282.1 kB / 433.8 MB, free: 4.188 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.2751, allocations: 33.7 kB / 433.9 MB, free: 4.148 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.2752, allocations: 216.2 kB / 434.1 MB, free: 3.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.944e-05/0.2753, allocations: 59.52 kB / 434.1 MB, free: 3.871 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.2754, allocations: 61.66 kB / 434.2 MB, free: 3.805 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.2756, allocations: 330.8 kB / 434.5 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004248/0.276, allocations: 141.9 kB / 434.7 MB, free: 3.324 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005114/0.2765, allocations: 302.4 kB / 435 MB, free: 2.969 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008146/0.2773, allocations: 341.8 kB / 435.3 MB, free: 2.594 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2773, allocations: 0 / 435.3 MB, free: 2.594 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001348/0.2787, allocations: 0.4983 MB / 435.8 MB, free: 2.074 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.197e-05/0.2787, allocations: 41.7 kB / 435.8 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.2787, allocations: 4 kB / 435.8 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003247/0.279, allocations: 60.81 kB / 435.9 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/0.2793, allocations: 71.98 kB / 436 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002344/0.2817, allocations: 1.514 MB / 437.5 MB, free: 288 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003928/0.2821, allocations: 55.91 kB / 437.5 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/0.2821, allocations: 19.98 kB / 437.5 MB, free: 212 kB / 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.0001973/0.2823, allocations: 153.7 kB / 437.7 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.355e-05/0.2824, allocations: 23.86 kB / 437.7 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.684e-05/0.2824, allocations: 30.17 kB / 437.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-06/0.2824, allocations: 11.88 kB / 437.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.2824, allocations: 0 / 437.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.2825, allocations: 0 / 437.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.2841, allocations: 0.6941 MB / 438.5 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2841, allocations: 0 / 438.5 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.2843, allocations: 39.91 kB / 438.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000232/0.2845, allocations: 64.84 kB / 438.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.2846, allocations: 8 kB / 438.6 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002095/0.2867, allocations: 1.487 MB / 440.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2867, allocations: 4.094 kB / 440.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/0.2882, allocations: 0.5631 MB / 440.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.02e-05/0.2882, allocations: 31.81 kB / 440.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.858e-05/0.2883, allocations: 0 / 440.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002908/0.2886, allocations: 39.97 kB / 440.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.254e-05/0.2887, allocations: 23.91 kB / 440.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.2887, allocations: 11.98 kB / 440.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002251/0.2889, allocations: 193.2 kB / 440.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2889, allocations: 4 kB / 440.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004244/0.2893, allocations: 83.84 kB / 441 MB, free: 12.57 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.0001513/0.2895, allocations: 117.2 kB / 441.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.2905, allocations: 467.8 kB / 441.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.2905, allocations: 4 kB / 441.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004719/0.291, allocations: 218.6 kB / 441.8 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004565/0.2915, allocations: 60.72 kB / 441.8 MB, free: 11.67 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002805/0.2943, allocations: 0.8856 MB / 442.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001586/0.2944, allocations: 159.5 kB / 442.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.917e-05/0.2945, allocations: 27.38 kB / 442.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2945, allocations: 0 / 442.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of Templates: time 0.008253/0.3028, allocations: 5.338 MB / 448.3 MB, free: 5.234 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.328456822317094]