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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001779/0.001779, allocations: 112.6 kB / 18.79 MB, free: 3.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001564/0.001564, allocations: 215.9 kB / 19.8 MB, free: 2.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.516/1.516, allocations: 230.4 MB / 251.1 MB, free: 8.438 MB / 206.1 MB 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.002129/0.002129, allocations: 67.83 kB / 369 MB, free: 6.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3184, allocations: 53.32 MB / 422.3 MB, free: 7.828 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004782/0.3232, allocations: 3.116 MB / 425.4 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001679/0.3249, allocations: 0.8026 MB / 426.2 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002581/0.3251, allocations: 4 kB / 426.2 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.3254, allocations: 51.5 kB / 426.3 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000269/0.3256, allocations: 119 kB / 426.4 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003983/0.326, allocations: 139.8 kB / 426.5 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005349/0.3266, allocations: 454.2 kB / 427 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002478/0.3268, allocations: 102.9 kB / 427.1 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004107/0.3272, allocations: 187.3 kB / 427.3 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002719/0.3275, allocations: 187.2 kB / 427.4 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.178e-05/0.3276, allocations: 44 kB / 427.5 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.768e-05/0.3277, allocations: 47.94 kB / 427.5 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.254e-05/0.3277, allocations: 83.75 kB / 427.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001907/0.3279, allocations: 195.1 kB / 427.8 MB, free: 2.301 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005812/0.3285, allocations: 0.4939 MB / 428.3 MB, free: 1.809 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3285, allocations: 0 / 428.3 MB, free: 1.809 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3285, allocations: 0 / 428.3 MB, free: 1.809 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.3285, allocations: 0 / 428.3 MB, free: 1.809 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.001441/0.33, allocations: 0.7262 MB / 429 MB, free: 1.027 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.33, allocations: 8.031 kB / 429 MB, free: 1.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.62e-05/0.3301, allocations: 44.64 kB / 429.1 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004959/0.3306, allocations: 306.8 kB / 429.4 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.3306, allocations: 24.94 kB / 429.4 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.368e-05/0.3307, allocations: 28.38 kB / 429.4 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007827/0.3315, allocations: 359.5 kB / 429.8 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.3315, allocations: 0 / 429.8 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.46e-05/0.3315, allocations: 8 kB / 429.8 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.3315, allocations: 12 kB / 429.8 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008637/0.3324, allocations: 302 kB / 430.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002246/0.3346, allocations: 1.268 MB / 431.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000794/0.3354, allocations: 323.5 kB / 431.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003971/0.3358, allocations: 136 kB / 431.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.3358, allocations: 4 kB / 431.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004884/0.3363, allocations: 189.8 kB / 432 MB, free: 13.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.443e-06/0.3363, allocations: 0 / 432 MB, free: 13.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.002095/0.3384, allocations: 0.6504 MB / 432.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/0.3386, allocations: 106.8 kB / 432.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004698/0.339, allocations: 291 kB / 433 MB, free: 12.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.3391, allocations: 33.7 kB / 433.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.3393, allocations: 212.6 kB / 433.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.483e-05/0.3393, allocations: 63.47 kB / 433.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.3394, allocations: 57.66 kB / 433.4 MB, free: 12.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.3396, allocations: 334.8 kB / 433.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003768/0.34, allocations: 124.2 kB / 433.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004397/0.3404, allocations: 212.5 kB / 434 MB, free: 11.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007532/0.3412, allocations: 348.7 kB / 434.4 MB, free: 11.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3412, allocations: 0 / 434.4 MB, free: 11.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00124/0.3424, allocations: 481 kB / 434.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.881e-05/0.3425, allocations: 37.7 kB / 434.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.3425, allocations: 4 kB / 434.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003484/0.3428, allocations: 64.88 kB / 435 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002942/0.3431, allocations: 67.89 kB / 435 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002501/0.3456, allocations: 1.641 MB / 436.7 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003593/0.346, allocations: 59.73 kB / 436.7 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/0.346, allocations: 12 kB / 436.7 MB, free: 8.793 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.0002415/0.3463, allocations: 149.8 kB / 436.9 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.132e-05/0.3463, allocations: 31.75 kB / 436.9 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.579e-05/0.3464, allocations: 34.2 kB / 437 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.3464, allocations: 0 / 437 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3464, allocations: 4 kB / 437 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3464, allocations: 0 / 437 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001669/0.3481, allocations: 0.8041 MB / 437.8 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.3481, allocations: 4 kB / 437.8 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.3483, allocations: 35.97 kB / 437.8 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002149/0.3485, allocations: 64.81 kB / 437.9 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.3485, allocations: 4.031 kB / 437.9 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/0.3506, allocations: 1.636 MB / 439.5 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3506, allocations: 0 / 439.5 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001497/0.3521, allocations: 0.5555 MB / 440.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.3522, allocations: 108.9 kB / 440.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.036e-05/0.3522, allocations: 4 kB / 440.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002854/0.3525, allocations: 44.02 kB / 440.2 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.831e-05/0.3526, allocations: 19.92 kB / 440.2 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.3526, allocations: 7.984 kB / 440.2 MB, free: 5.031 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002544/0.3529, allocations: 206 kB / 440.4 MB, free: 4.832 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3529, allocations: 0 / 440.4 MB, free: 4.832 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003936/0.3533, allocations: 83.89 kB / 440.5 MB, free: 4.75 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.0001647/0.3534, allocations: 103.5 kB / 440.6 MB, free: 4.641 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009921/0.3544, allocations: 444.8 kB / 441.1 MB, free: 4.184 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3544, allocations: 4 kB / 441.1 MB, free: 4.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004487/0.3549, allocations: 234.5 kB / 441.3 MB, free: 3.938 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.3553, allocations: 56.98 kB / 441.3 MB, free: 3.883 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/0.358, allocations: 0.863 MB / 442.2 MB, free: 2.992 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.3584, allocations: 0.7639 MB / 443 MB, free: 2.199 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001224/0.3585, allocations: 30.97 kB / 443 MB, free: 2.172 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.527e-05/0.3586, allocations: 23.44 kB / 443 MB, free: 2.148 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3586, allocations: 0 / 443 MB, free: 2.148 MB / 350.1 MB Notification: Performance of Templates: time 0.008893/0.3674, allocations: 4.406 MB / 447.4 MB, free: 13.78 MB / 366.1 MB 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/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-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches