Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001388/0.001388, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001447/0.001447, allocations: 217.4 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.493/1.493, allocations: 230.4 MB / 258.1 MB, free: 8.145 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-beta.om/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=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 67.84 kB / 378.8 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2841, allocations: 53.31 MB / 432.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004626/0.2888, allocations: 3.132 MB / 435.2 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.2903, allocations: 0.8104 MB / 436 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000198/0.2905, allocations: 4 kB / 436 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002038/0.2907, allocations: 55.44 kB / 436.1 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000246/0.291, allocations: 119 kB / 436.2 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003479/0.2913, allocations: 131.8 kB / 436.3 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005233/0.2919, allocations: 458.2 kB / 436.8 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002391/0.2921, allocations: 102.9 kB / 436.9 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003316/0.2924, allocations: 183.3 kB / 437.1 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002627/0.2927, allocations: 191.2 kB / 437.2 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.291e-05/0.2928, allocations: 44 kB / 437.3 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.298e-05/0.2928, allocations: 44 kB / 437.3 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.685e-05/0.2929, allocations: 83.69 kB / 437.4 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001966/0.2931, allocations: 203 kB / 437.6 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005691/0.2937, allocations: 0.4919 MB / 438.1 MB, free: 1.344 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.2937, allocations: 0 / 438.1 MB, free: 1.344 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2937, allocations: 0 / 438.1 MB, free: 1.344 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.2937, allocations: 0 / 438.1 MB, free: 1.344 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.001482/0.2952, allocations: 0.7185 MB / 438.8 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.2952, allocations: 12.03 kB / 438.8 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.915e-05/0.2953, allocations: 36.7 kB / 438.9 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000482/0.2958, allocations: 326.7 kB / 439.2 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.2958, allocations: 20.94 kB / 439.2 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.673e-05/0.2959, allocations: 28.38 kB / 439.2 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008056/0.2967, allocations: 351.6 kB / 439.6 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.2967, allocations: 0 / 439.6 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.145e-05/0.2967, allocations: 16 kB / 439.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.2967, allocations: 8 kB / 439.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008651/0.2976, allocations: 302 kB / 439.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002327/0.2999, allocations: 1.264 MB / 441.2 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008529/0.3008, allocations: 319.5 kB / 441.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004263/0.3012, allocations: 132.7 kB / 441.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.3012, allocations: 4 kB / 441.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005159/0.3017, allocations: 192.8 kB / 441.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.934e-06/0.3017, allocations: 4 kB / 441.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.002262/0.304, allocations: 0.6473 MB / 442.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.928e-05/0.3041, allocations: 102.8 kB / 442.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003538/0.3044, allocations: 299 kB / 442.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.394e-05/0.3045, allocations: 29.7 kB / 442.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.3046, allocations: 212.6 kB / 443.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.77e-05/0.3047, allocations: 59.48 kB / 443.1 MB, free: 12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.3048, allocations: 57.66 kB / 443.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.305, allocations: 338.8 kB / 443.5 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/0.3053, allocations: 120.2 kB / 443.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004595/0.3058, allocations: 217.2 kB / 443.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008252/0.3066, allocations: 342.8 kB / 444.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.3066, allocations: 4 kB / 444.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001377/0.308, allocations: 483.8 kB / 444.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.199e-05/0.3081, allocations: 33.7 kB / 444.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.3081, allocations: 4 kB / 444.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003933/0.3085, allocations: 72.8 kB / 444.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/0.3088, allocations: 71.89 kB / 444.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002509/0.3113, allocations: 1.639 MB / 446.5 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003812/0.3117, allocations: 51.75 kB / 446.5 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.3117, allocations: 16 kB / 446.5 MB, free: 8.332 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.0001932/0.3119, allocations: 145.8 kB / 446.7 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.632e-05/0.312, allocations: 35.73 kB / 446.7 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.126e-05/0.312, allocations: 34.22 kB / 446.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.3121, allocations: 7.984 kB / 446.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.3121, allocations: 0 / 446.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.3121, allocations: 0 / 446.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001762/0.3138, allocations: 0.8033 MB / 447.6 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3138, allocations: 0 / 447.6 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/0.3141, allocations: 43.89 kB / 447.6 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00026/0.3143, allocations: 68.8 kB / 447.7 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.3143, allocations: 12.03 kB / 447.7 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002183/0.3165, allocations: 1.621 MB / 449.3 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3165, allocations: 0 / 449.3 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/0.318, allocations: 0.5623 MB / 449.9 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.3181, allocations: 105 kB / 450 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.516e-05/0.3182, allocations: 7.984 kB / 450 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002976/0.3185, allocations: 36.03 kB / 450 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.004e-05/0.3186, allocations: 23.91 kB / 450 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.3186, allocations: 8 kB / 450 MB, free: 4.574 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002576/0.3188, allocations: 206 kB / 450.2 MB, free: 4.375 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3188, allocations: 0 / 450.2 MB, free: 4.375 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004306/0.3193, allocations: 83.83 kB / 450.3 MB, free: 4.293 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.0001778/0.3195, allocations: 109.2 kB / 450.4 MB, free: 4.176 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.3205, allocations: 442.2 kB / 450.9 MB, free: 3.719 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3205, allocations: 0 / 450.9 MB, free: 3.719 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004891/0.321, allocations: 238.5 kB / 451.1 MB, free: 3.473 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.3215, allocations: 52.92 kB / 451.1 MB, free: 3.422 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/0.3244, allocations: 0.8686 MB / 452 MB, free: 2.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.3248, allocations: 0.76 MB / 452.8 MB, free: 1.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.3249, allocations: 34.95 kB / 452.8 MB, free: 1.695 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.202e-05/0.325, allocations: 27.44 kB / 452.8 MB, free: 1.668 MB / 350.1 MB Notification: Performance of SimCode: time 7.61e-07/0.325, allocations: 0 / 452.8 MB, free: 1.668 MB / 350.1 MB Notification: Performance of Templates: time 0.009337/0.3344, allocations: 4.45 MB / 457.3 MB, free: 13.27 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.547316438052803]