Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001653/0.001653, allocations: 104.5 kB / 19.8 MB, free: 2.516 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.00184/0.00184, allocations: 213.5 kB / 23 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 230.2 MB / 256.2 MB, free: 8.523 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 63.89 kB / 376.5 MB, free: 3.555 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2891, allocations: 53.32 MB / 429.8 MB, free: 7.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.005/0.2941, allocations: 3.128 MB / 433 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.2959, allocations: 0.8143 MB / 433.8 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002028/0.2961, allocations: 4 kB / 433.8 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002054/0.2963, allocations: 55.44 kB / 433.8 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002441/0.2965, allocations: 115 kB / 433.9 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003734/0.2969, allocations: 131.8 kB / 434.1 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005451/0.2974, allocations: 462.2 kB / 434.5 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002457/0.2977, allocations: 102.9 kB / 434.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003351/0.298, allocations: 175.3 kB / 434.8 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002611/0.2983, allocations: 199.1 kB / 435 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.486e-05/0.2983, allocations: 44 kB / 435 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.644e-05/0.2984, allocations: 44 kB / 435.1 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.372e-05/0.2985, allocations: 83.69 kB / 435.2 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001948/0.2987, allocations: 199.1 kB / 435.4 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006935/0.2994, allocations: 0.4993 MB / 435.9 MB, free: 1.449 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2994, allocations: 0 / 435.9 MB, free: 1.449 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2994, allocations: 0 / 435.9 MB, free: 1.449 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.2994, allocations: 0 / 435.9 MB, free: 1.449 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.001456/0.3009, allocations: 0.7107 MB / 436.6 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.3009, allocations: 8.031 kB / 436.6 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.807e-05/0.301, allocations: 40.7 kB / 436.6 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004921/0.3015, allocations: 318.8 kB / 436.9 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/0.3015, allocations: 24.94 kB / 436.9 MB, free: 268 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.333e-05/0.3016, allocations: 32.33 kB / 437 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008021/0.3024, allocations: 347.6 kB / 437.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.3024, allocations: 0 / 437.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.675e-05/0.3024, allocations: 15.98 kB / 437.3 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.3024, allocations: 8 kB / 437.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008842/0.3033, allocations: 302 kB / 437.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00247/0.3058, allocations: 1.272 MB / 438.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008729/0.3067, allocations: 322.5 kB / 439.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004457/0.3071, allocations: 132.8 kB / 439.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-05/0.3071, allocations: 0 / 439.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005245/0.3077, allocations: 197.8 kB / 439.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.252e-06/0.3077, allocations: 0 / 439.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.002184/0.3098, allocations: 0.6455 MB / 440.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.283e-05/0.3099, allocations: 110.8 kB / 440.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003632/0.3103, allocations: 298.9 kB / 440.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.441e-05/0.3104, allocations: 33.7 kB / 440.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.3105, allocations: 208.6 kB / 440.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.105e-05/0.3106, allocations: 59.47 kB / 440.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.3107, allocations: 61.66 kB / 440.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3109, allocations: 338.8 kB / 441.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004009/0.3113, allocations: 116.2 kB / 441.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004381/0.3117, allocations: 217.3 kB / 441.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007474/0.3125, allocations: 343 kB / 441.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3125, allocations: 0 / 441.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001268/0.3137, allocations: 479.8 kB / 442.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.785e-05/0.3138, allocations: 37.69 kB / 442.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.3138, allocations: 4 kB / 442.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003452/0.3141, allocations: 64.88 kB / 442.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003108/0.3145, allocations: 71.89 kB / 442.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002506/0.317, allocations: 1.633 MB / 444.2 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003873/0.3174, allocations: 63.83 kB / 444.3 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/0.3174, allocations: 16 kB / 444.3 MB, free: 8.441 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.0002268/0.3176, allocations: 145.8 kB / 444.4 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.438e-05/0.3177, allocations: 35.73 kB / 444.5 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.513e-05/0.3177, allocations: 34.22 kB / 444.5 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3177, allocations: 0 / 444.5 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.3177, allocations: 3.984 kB / 444.5 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.3177, allocations: 4 kB / 444.5 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/0.3194, allocations: 0.7885 MB / 445.3 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3194, allocations: 4.031 kB / 445.3 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002214/0.3197, allocations: 51.89 kB / 445.4 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000242/0.3199, allocations: 68.75 kB / 445.4 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.3199, allocations: 0 / 445.4 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002141/0.3221, allocations: 1.625 MB / 447 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3221, allocations: 0 / 447 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001539/0.3236, allocations: 0.5697 MB / 447.6 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.3237, allocations: 101 kB / 447.7 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.511e-05/0.3238, allocations: 7.969 kB / 447.7 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002849/0.324, allocations: 44.03 kB / 447.8 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.758e-05/0.3241, allocations: 19.97 kB / 447.8 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.3242, allocations: 11.94 kB / 447.8 MB, free: 4.676 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002359/0.3244, allocations: 206 kB / 448 MB, free: 4.477 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3244, allocations: 3.938 kB / 448 MB, free: 4.473 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004473/0.3248, allocations: 87.78 kB / 448.1 MB, free: 4.387 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.0001762/0.325, allocations: 103.5 kB / 448.2 MB, free: 4.277 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.3261, allocations: 433.7 kB / 448.6 MB, free: 3.832 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.3261, allocations: 4.062 kB / 448.6 MB, free: 3.828 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004805/0.3266, allocations: 234.5 kB / 448.8 MB, free: 3.586 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004257/0.327, allocations: 55.67 kB / 448.9 MB, free: 3.535 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002838/0.3298, allocations: 0.8725 MB / 449.8 MB, free: 2.629 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.3302, allocations: 0.76 MB / 450.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001613/0.3304, allocations: 30.97 kB / 450.6 MB, free: 1.816 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.402e-05/0.3305, allocations: 31.38 kB / 450.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of SimCode: time 1.533e-06/0.3305, allocations: 0 / 450.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of Templates: time 0.009659/0.3401, allocations: 4.443 MB / 455 MB, free: 13.39 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.640873924829066]