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.001401/0.001401, allocations: 111.6 kB / 20.43 MB, free: 1.473 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.001639/0.001639, allocations: 212.9 kB / 23.74 MB, free: 4.688 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.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.002535/0.002535, allocations: 55.91 kB / 378.3 MB, free: 2.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2828, allocations: 53.36 MB / 431.7 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004878/0.2877, allocations: 3.132 MB / 434.8 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.2893, allocations: 0.8105 MB / 435.6 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001895/0.2895, allocations: 7.938 kB / 435.6 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001933/0.2897, allocations: 51.48 kB / 435.7 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.29, allocations: 119 kB / 435.8 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003451/0.2903, allocations: 131.8 kB / 435.9 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005302/0.2908, allocations: 462.2 kB / 436.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000225/0.2911, allocations: 107.1 kB / 436.5 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003621/0.2914, allocations: 183.3 kB / 436.6 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002831/0.2917, allocations: 195.2 kB / 436.8 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.879e-05/0.2918, allocations: 44 kB / 436.9 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.346e-05/0.2919, allocations: 48 kB / 436.9 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.292, allocations: 91.67 kB / 437 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002138/0.2922, allocations: 199.1 kB / 437.2 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005974/0.2928, allocations: 496.7 kB / 437.7 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.2928, allocations: 0 / 437.7 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.2928, allocations: 3.938 kB / 437.7 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.2928, allocations: 0 / 437.7 MB, free: 0.8984 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.001464/0.2943, allocations: 0.6355 MB / 438.3 MB, free: 228 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.2943, allocations: 16.02 kB / 438.3 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.2944, allocations: 40.7 kB / 438.4 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005424/0.295, allocations: 257 kB / 438.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.295, allocations: 21.03 kB / 438.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.38e-05/0.2951, allocations: 24.38 kB / 438.7 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008059/0.2959, allocations: 360.9 kB / 439 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.2959, allocations: 0 / 439 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.677e-05/0.2959, allocations: 16 kB / 439 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.2959, allocations: 4 kB / 439 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008521/0.2968, allocations: 310.4 kB / 439.3 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00244/0.2992, allocations: 1.222 MB / 440.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007961/0.3, allocations: 246.3 kB / 440.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004181/0.3004, allocations: 128.8 kB / 440.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.3005, allocations: 4 kB / 440.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005646/0.301, allocations: 197.8 kB / 441.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.683e-06/0.301, allocations: 0 / 441.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.002198/0.3032, allocations: 0.5669 MB / 441.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.474e-05/0.3033, allocations: 106.8 kB / 441.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003856/0.3037, allocations: 296.5 kB / 442.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.106e-05/0.3038, allocations: 33.7 kB / 442.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002535/0.304, allocations: 208.4 kB / 442.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.411e-05/0.3041, allocations: 63.47 kB / 442.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.3042, allocations: 61.73 kB / 442.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.3044, allocations: 346.7 kB / 442.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003754/0.3047, allocations: 112.2 kB / 442.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004545/0.3052, allocations: 221.3 kB / 443.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007695/0.306, allocations: 337.8 kB / 443.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.306, allocations: 4 kB / 443.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001308/0.3073, allocations: 489.1 kB / 443.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.35e-05/0.3073, allocations: 37.77 kB / 444 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.3073, allocations: 0 / 444 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000337/0.3077, allocations: 64.81 kB / 444 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002947/0.308, allocations: 67.89 kB / 444.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002269/0.3102, allocations: 1.541 MB / 445.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003559/0.3106, allocations: 55.75 kB / 445.7 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/0.3106, allocations: 12 kB / 445.7 MB, free: 8.41 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.000202/0.3108, allocations: 153.8 kB / 445.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.435e-05/0.3109, allocations: 35.73 kB / 445.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.436e-05/0.3109, allocations: 26.16 kB / 445.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.311, allocations: 3.984 kB / 445.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.311, allocations: 4 kB / 445.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.311, allocations: 0 / 445.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/0.3127, allocations: 0.7697 MB / 446.7 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.3127, allocations: 4 kB / 446.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002305/0.3129, allocations: 39.91 kB / 446.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002439/0.3132, allocations: 64.84 kB / 446.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.3132, allocations: 7.984 kB / 446.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002227/0.3154, allocations: 1.533 MB / 448.3 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3154, allocations: 0 / 448.3 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/0.317, allocations: 0.5555 MB / 448.9 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.611e-05/0.317, allocations: 39.77 kB / 448.9 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.601e-05/0.3171, allocations: 8 kB / 448.9 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002882/0.3174, allocations: 40.02 kB / 449 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.519e-05/0.3175, allocations: 19.97 kB / 449 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.3175, allocations: 4 kB / 449 MB, free: 4.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002569/0.3177, allocations: 207.1 kB / 449.2 MB, free: 4.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3177, allocations: 0 / 449.2 MB, free: 4.703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000426/0.3182, allocations: 83.89 kB / 449.3 MB, free: 4.621 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.0001515/0.3183, allocations: 111.2 kB / 449.4 MB, free: 4.504 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.3194, allocations: 449.6 kB / 449.8 MB, free: 4.039 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3194, allocations: 0 / 449.8 MB, free: 4.039 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005011/0.32, allocations: 227.2 kB / 450.1 MB, free: 3.805 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/0.3204, allocations: 62.52 kB / 450.1 MB, free: 3.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002837/0.3232, allocations: 0.8501 MB / 451 MB, free: 2.867 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.3236, allocations: 0.7639 MB / 451.7 MB, free: 2.078 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001307/0.3238, allocations: 34.95 kB / 451.8 MB, free: 2.043 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.795e-05/0.3238, allocations: 23.42 kB / 451.8 MB, free: 2.02 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3238, allocations: 4 kB / 451.8 MB, free: 2.016 MB / 350.1 MB Notification: Performance of Templates: time 0.01034/0.3342, allocations: 4.512 MB / 456.3 MB, free: 13.55 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins/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: 4.744747940916568]