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.001578/0.001578, allocations: 116.1 kB / 21.17 MB, free: 0.6133 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.001739/0.001739, allocations: 205.9 kB / 24.47 MB, free: 4.023 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.438/1.438, allocations: 230.4 MB / 258.1 MB, free: 8.148 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.001911/0.001911, allocations: 71.83 kB / 378.8 MB, free: 2.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2964, allocations: 53.32 MB / 432.1 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004673/0.3011, allocations: 3.128 MB / 435.2 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001495/0.3026, allocations: 0.8065 MB / 436 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001737/0.3028, allocations: 4 kB / 436 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001828/0.303, allocations: 47.5 kB / 436.1 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002446/0.3032, allocations: 123 kB / 436.2 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.3035, allocations: 135.8 kB / 436.3 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000524/0.3041, allocations: 458.1 kB / 436.8 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002413/0.3043, allocations: 102.9 kB / 436.9 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003434/0.3046, allocations: 183.3 kB / 437.1 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002547/0.3049, allocations: 187.2 kB / 437.2 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.786e-05/0.305, allocations: 44 kB / 437.3 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.317e-05/0.305, allocations: 44 kB / 437.3 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.202e-05/0.3051, allocations: 87.69 kB / 437.4 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001915/0.3053, allocations: 203 kB / 437.6 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005695/0.3059, allocations: 0.4883 MB / 438.1 MB, free: 1.324 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3059, allocations: 4 kB / 438.1 MB, free: 1.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3059, allocations: 0 / 438.1 MB, free: 1.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.3059, allocations: 0 / 438.1 MB, free: 1.32 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.001498/0.3074, allocations: 0.7224 MB / 438.8 MB, free: 0.543 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.3074, allocations: 12.03 kB / 438.8 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.472e-05/0.3075, allocations: 36.7 kB / 438.9 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000485/0.308, allocations: 310.8 kB / 439.2 MB, free: 160 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.308, allocations: 16.94 kB / 439.2 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.411e-05/0.3081, allocations: 36.38 kB / 439.2 MB, free: 104 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007873/0.3089, allocations: 355.5 kB / 439.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.3089, allocations: 0 / 439.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.883e-05/0.3089, allocations: 16 kB / 439.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.3089, allocations: 7.938 kB / 439.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008416/0.3098, allocations: 310 kB / 439.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002243/0.312, allocations: 1.26 MB / 441.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000844/0.3129, allocations: 327.5 kB / 441.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004201/0.3133, allocations: 128.8 kB / 441.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.3133, allocations: 0 / 441.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005119/0.3138, allocations: 204.4 kB / 441.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.422e-06/0.3138, allocations: 0 / 441.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.002281/0.3161, allocations: 0.6395 MB / 442.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.463e-05/0.3162, allocations: 114.7 kB / 442.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003491/0.3165, allocations: 295 kB / 442.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.3166, allocations: 25.7 kB / 442.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.3167, allocations: 216.6 kB / 443.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.067e-05/0.3168, allocations: 63.47 kB / 443.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.3169, allocations: 57.66 kB / 443.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3171, allocations: 334.8 kB / 443.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003796/0.3174, allocations: 124.1 kB / 443.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000445/0.3179, allocations: 213.3 kB / 443.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007782/0.3187, allocations: 339.7 kB / 444.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.3187, allocations: 0 / 444.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001304/0.32, allocations: 486.5 kB / 444.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.351e-05/0.32, allocations: 33.7 kB / 444.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.32, allocations: 4 kB / 444.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003319/0.3204, allocations: 64.88 kB / 444.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002959/0.3207, allocations: 67.89 kB / 444.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002361/0.323, allocations: 1.64 MB / 446.5 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003579/0.3234, allocations: 55.94 kB / 446.5 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/0.3234, allocations: 23.92 kB / 446.5 MB, free: 8.305 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.0001925/0.3236, allocations: 145.8 kB / 446.7 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.734e-05/0.3236, allocations: 31.75 kB / 446.7 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.599e-05/0.3237, allocations: 30.2 kB / 446.7 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.3237, allocations: 8 kB / 446.8 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.3237, allocations: 0 / 446.8 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.3237, allocations: 0 / 446.8 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/0.3254, allocations: 0.8092 MB / 447.6 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3254, allocations: 0 / 447.6 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/0.3256, allocations: 44 kB / 447.6 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002357/0.3259, allocations: 64.81 kB / 447.7 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.3259, allocations: 4 kB / 447.7 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002177/0.3281, allocations: 1.633 MB / 449.3 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3281, allocations: 3.984 kB / 449.3 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/0.3296, allocations: 0.5594 MB / 449.9 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.3297, allocations: 108.9 kB / 450 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.38e-05/0.3297, allocations: 4 kB / 450 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002879/0.33, allocations: 35.95 kB / 450 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.378e-05/0.3301, allocations: 23.98 kB / 450 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.3301, allocations: 4 kB / 450 MB, free: 4.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002386/0.3303, allocations: 209.9 kB / 450.2 MB, free: 4.344 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3303, allocations: 0 / 450.2 MB, free: 4.344 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004238/0.3308, allocations: 87.83 kB / 450.3 MB, free: 4.258 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.0001768/0.3309, allocations: 107.5 kB / 450.4 MB, free: 4.141 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.332, allocations: 440.8 kB / 450.9 MB, free: 3.688 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.332, allocations: 128 / 450.9 MB, free: 3.688 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004747/0.3325, allocations: 230.5 kB / 451.1 MB, free: 3.449 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004293/0.3329, allocations: 60.86 kB / 451.2 MB, free: 3.391 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002952/0.3359, allocations: 0.896 MB / 452 MB, free: 2.457 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/0.3363, allocations: 0.7639 MB / 452.8 MB, free: 1.664 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.568e-05/0.3364, allocations: 23.44 kB / 452.8 MB, free: 1.641 MB / 350.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3364, allocations: 0 / 452.8 MB, free: 1.641 MB / 350.1 MB Notification: Performance of Templates: time 0.008256/0.3446, allocations: 5.301 MB / 458.1 MB, free: 12.36 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 -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: 7.511638293042779]