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.001374/0.001374, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001504/0.001504, allocations: 200.9 kB / 23.73 MB, free: 4.379 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.56/1.56, allocations: 230.6 MB / 257.5 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.001652/0.001652, allocations: 47.92 kB / 378.2 MB, free: 2.543 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2892, allocations: 53.36 MB / 431.6 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004575/0.2937, allocations: 2.879 MB / 434.5 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.2953, allocations: 0.7831 MB / 435.3 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000169/0.2955, allocations: 4 kB / 435.3 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001894/0.2957, allocations: 51.44 kB / 435.3 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002342/0.2959, allocations: 119.1 kB / 435.4 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003224/0.2962, allocations: 135.7 kB / 435.6 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004972/0.2967, allocations: 454.3 kB / 436 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002261/0.297, allocations: 103.5 kB / 436.1 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003037/0.2973, allocations: 183.4 kB / 436.3 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002564/0.2975, allocations: 195.1 kB / 436.5 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.143e-05/0.2976, allocations: 44 kB / 436.5 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.222e-05/0.2976, allocations: 44 kB / 436.6 MB, free: 1.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.972e-05/0.2977, allocations: 91.69 kB / 436.7 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.2979, allocations: 163.2 kB / 436.8 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005622/0.2985, allocations: 0.4993 MB / 437.3 MB, free: 1.023 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2985, allocations: 0 / 437.3 MB, free: 1.023 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2985, allocations: 0 / 437.3 MB, free: 1.023 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.804e-06/0.2985, allocations: 0 / 437.3 MB, free: 1.023 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.001478/0.3, allocations: 0.6394 MB / 438 MB, free: 352 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.3, allocations: 12.03 kB / 438 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.874e-05/0.3001, allocations: 36.7 kB / 438 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004692/0.3006, allocations: 260.9 kB / 438.3 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.3006, allocations: 21.03 kB / 438.3 MB, free: 0 / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.172e-05/0.3007, allocations: 24.45 kB / 438.3 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00082/0.3015, allocations: 408.4 kB / 438.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.3015, allocations: 0 / 438.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.799e-05/0.3015, allocations: 12 kB / 438.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.3016, allocations: 8 kB / 438.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008482/0.3024, allocations: 310.4 kB / 439 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002151/0.3046, allocations: 1.086 MB / 440.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007787/0.3053, allocations: 234.4 kB / 440.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004293/0.3058, allocations: 140.8 kB / 440.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.569e-05/0.3058, allocations: 7.938 kB / 440.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005836/0.3064, allocations: 245.2 kB / 440.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.813e-06/0.3064, allocations: 4 kB / 440.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.002225/0.3086, allocations: 0.5667 MB / 441.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.496e-05/0.3087, allocations: 106.8 kB / 441.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003312/0.309, allocations: 290 kB / 441.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.309, allocations: 29.7 kB / 441.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.3092, allocations: 212.3 kB / 441.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.316e-05/0.3093, allocations: 67.45 kB / 442 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.3094, allocations: 53.7 kB / 442 MB, free: 12.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3095, allocations: 330.8 kB / 442.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004087/0.31, allocations: 145.9 kB / 442.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004867/0.3104, allocations: 294.4 kB / 442.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008196/0.3113, allocations: 343.7 kB / 443.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3113, allocations: 0 / 443.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001332/0.3126, allocations: 0.512 MB / 443.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.151e-05/0.3126, allocations: 29.7 kB / 443.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.3127, allocations: 7.984 kB / 443.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003415/0.313, allocations: 68.8 kB / 443.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003162/0.3133, allocations: 71.95 kB / 443.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002442/0.3158, allocations: 1.502 MB / 445.3 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004164/0.3162, allocations: 55.89 kB / 445.4 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.3162, allocations: 12 kB / 445.4 MB, free: 8.461 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.0002412/0.3164, allocations: 161.6 kB / 445.5 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/0.3165, allocations: 27.81 kB / 445.6 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.743e-05/0.3166, allocations: 30.11 kB / 445.6 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.3166, allocations: 3.938 kB / 445.6 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3166, allocations: 8 kB / 445.6 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3166, allocations: 0 / 445.6 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001759/0.3183, allocations: 0.6851 MB / 446.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.3183, allocations: 0 / 446.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002426/0.3186, allocations: 43.91 kB / 446.3 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002422/0.3188, allocations: 68.83 kB / 446.4 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.3188, allocations: 7.984 kB / 446.4 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002024/0.3209, allocations: 1.499 MB / 447.9 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.3209, allocations: 4 kB / 447.9 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001497/0.3224, allocations: 0.5632 MB / 448.5 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.146e-05/0.3225, allocations: 39.77 kB / 448.5 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.416e-05/0.3225, allocations: 4 kB / 448.5 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003016/0.3228, allocations: 39.89 kB / 448.6 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.223e-05/0.3229, allocations: 15.97 kB / 448.6 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.3229, allocations: 4 kB / 448.6 MB, free: 5.082 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002486/0.3232, allocations: 205.2 kB / 448.8 MB, free: 4.879 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3232, allocations: 0 / 448.8 MB, free: 4.879 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004142/0.3236, allocations: 79.95 kB / 448.9 MB, free: 4.801 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.0001373/0.3237, allocations: 107.1 kB / 449 MB, free: 4.684 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001035/0.3247, allocations: 471.5 kB / 449.4 MB, free: 4.191 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3247, allocations: 0 / 449.4 MB, free: 4.191 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004655/0.3252, allocations: 231.2 kB / 449.7 MB, free: 3.953 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.3256, allocations: 51.12 kB / 449.7 MB, free: 3.906 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002956/0.3286, allocations: 0.8501 MB / 450.6 MB, free: 3.027 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001588/0.3288, allocations: 159.5 kB / 450.7 MB, free: 2.855 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001229/0.3289, allocations: 30.95 kB / 450.7 MB, free: 2.824 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.114e-05/0.3289, allocations: 23.44 kB / 450.8 MB, free: 2.801 MB / 350.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3289, allocations: 0 / 450.8 MB, free: 2.801 MB / 350.1 MB Notification: Performance of Templates: time 0.009754/0.3387, allocations: 4.72 MB / 455.5 MB, free: 14.14 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.803127767983824]