Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002214/0.002214, allocations: 209 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.472/1.472, allocations: 230.6 MB / 258.2 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 47.92 kB / 379 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.255, allocations: 53.37 MB / 432.4 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004577/0.2595, allocations: 2.883 MB / 435.2 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00165/0.2612, allocations: 0.7715 MB / 436 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001829/0.2614, allocations: 8 kB / 436 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001782/0.2616, allocations: 59.42 kB / 436.1 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002478/0.2618, allocations: 119 kB / 436.2 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003423/0.2622, allocations: 131.8 kB / 436.3 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005314/0.2627, allocations: 454.3 kB / 436.8 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002591/0.2629, allocations: 99.11 kB / 436.9 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003703/0.2633, allocations: 187.3 kB / 437.1 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002438/0.2636, allocations: 171.2 kB / 437.2 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.555e-05/0.2636, allocations: 44 kB / 437.3 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.155e-05/0.2637, allocations: 44 kB / 437.3 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.396e-05/0.2638, allocations: 87.69 kB / 437.4 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000187/0.264, allocations: 163.2 kB / 437.6 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005896/0.2646, allocations: 0.4932 MB / 438 MB, free: 1.004 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2646, allocations: 0 / 438 MB, free: 1.004 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2646, allocations: 4 kB / 438 MB, free: 1 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.2646, allocations: 0 / 438 MB, free: 1 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.00138/0.266, allocations: 0.6394 MB / 438.7 MB, free: 328 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.266, allocations: 16.03 kB / 438.7 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.732e-05/0.2661, allocations: 36.7 kB / 438.7 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000482/0.2666, allocations: 261 kB / 439 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.2666, allocations: 16.97 kB / 439 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.642e-05/0.2666, allocations: 28.38 kB / 439 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008061/0.2675, allocations: 408.4 kB / 439.4 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.2675, allocations: 0 / 439.4 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.563e-05/0.2675, allocations: 15.98 kB / 439.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.2675, allocations: 4 kB / 439.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008782/0.2684, allocations: 310.4 kB / 439.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002137/0.2705, allocations: 1.094 MB / 440.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007884/0.2713, allocations: 238.4 kB / 441.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004231/0.2717, allocations: 136.7 kB / 441.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.2718, allocations: 7.984 kB / 441.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005569/0.2723, allocations: 241.3 kB / 441.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.663e-06/0.2723, allocations: 0 / 441.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.002131/0.2745, allocations: 0.5705 MB / 442 MB, free: 12.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.823e-05/0.2745, allocations: 106.8 kB / 442.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003303/0.2749, allocations: 290 kB / 442.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.2749, allocations: 29.7 kB / 442.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.2751, allocations: 212.3 kB / 442.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.018e-05/0.2751, allocations: 67.47 kB / 442.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.2752, allocations: 53.69 kB / 442.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.2754, allocations: 334.8 kB / 443.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003947/0.2758, allocations: 141.9 kB / 443.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005585/0.2763, allocations: 298.4 kB / 443.5 MB, free: 11.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008042/0.2771, allocations: 339.7 kB / 443.9 MB, free: 10.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2771, allocations: 0 / 443.9 MB, free: 10.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001338/0.2785, allocations: 0.512 MB / 444.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.219e-05/0.2785, allocations: 29.7 kB / 444.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.2785, allocations: 4 kB / 444.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003359/0.2789, allocations: 72.81 kB / 444.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003004/0.2792, allocations: 67.89 kB / 444.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002246/0.2814, allocations: 1.502 MB / 446.1 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003559/0.2818, allocations: 47.81 kB / 446.1 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.761e-05/0.2818, allocations: 15.98 kB / 446.1 MB, free: 8.438 MB / 350.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.0001968/0.282, allocations: 157.9 kB / 446.3 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.567e-05/0.282, allocations: 31.75 kB / 446.3 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.206e-05/0.2821, allocations: 34.11 kB / 446.3 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.2821, allocations: 7.922 kB / 446.3 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.2821, allocations: 0 / 446.3 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.2821, allocations: 4 kB / 446.3 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.2837, allocations: 0.6868 MB / 447 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.2837, allocations: 3.938 kB / 447 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/0.2839, allocations: 39.97 kB / 447.1 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002366/0.2842, allocations: 64.75 kB / 447.1 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.2842, allocations: 4 kB / 447.1 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002069/0.2862, allocations: 1.495 MB / 448.6 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.2862, allocations: 7.969 kB / 448.6 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.2878, allocations: 0.5555 MB / 449.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-05/0.2879, allocations: 35.77 kB / 449.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.61e-05/0.2879, allocations: 4 kB / 449.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002973/0.2882, allocations: 39.95 kB / 449.3 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.393e-05/0.2883, allocations: 23.97 kB / 449.3 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.2883, allocations: 7.938 kB / 449.3 MB, free: 5.059 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002468/0.2885, allocations: 205.2 kB / 449.5 MB, free: 4.855 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2885, allocations: 0 / 449.5 MB, free: 4.855 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004341/0.289, allocations: 75.89 kB / 449.6 MB, free: 4.781 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.0001407/0.2891, allocations: 103.2 kB / 449.7 MB, free: 4.668 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.2902, allocations: 471.3 kB / 450.1 MB, free: 4.176 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2902, allocations: 3.938 kB / 450.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004911/0.2907, allocations: 234.6 kB / 450.4 MB, free: 3.934 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/0.2911, allocations: 55.31 kB / 450.4 MB, free: 3.883 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002911/0.2941, allocations: 0.8675 MB / 451.3 MB, free: 2.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001671/0.2942, allocations: 163.4 kB / 451.5 MB, free: 2.805 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.279e-05/0.2943, allocations: 27.44 kB / 451.5 MB, free: 2.777 MB / 350.1 MB Notification: Performance of SimCode: time 8.42e-07/0.2943, allocations: 4 kB / 451.5 MB, free: 2.773 MB / 350.1 MB Notification: Performance of Templates: time 0.008432/0.3028, allocations: 5.342 MB / 456.8 MB, free: 13.45 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.477636462077498]