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.001985/0.001985, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002581/0.002581, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.535/1.535, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.001533/0.001533, allocations: 55.92 kB / 373.5 MB, free: 9.758 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1133, allocations: 53.32 MB / 426.8 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004775/0.118, allocations: 3.101 MB / 429.9 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.1196, allocations: 0.8064 MB / 430.8 MB, free: 420 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.1197, allocations: 8 kB / 430.8 MB, free: 412 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001794/0.1199, allocations: 55.42 kB / 430.8 MB, free: 356 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.1201, allocations: 115.1 kB / 430.9 MB, free: 240 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.1205, allocations: 131.8 kB / 431.1 MB, free: 108 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2105/0.331, allocations: 452.8 kB / 431.5 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002484/0.3312, allocations: 97.8 kB / 431.6 MB, free: 8.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003685/0.3316, allocations: 190.3 kB / 431.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00021/0.3318, allocations: 188.6 kB / 432 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.723e-05/0.3319, allocations: 43.88 kB / 432 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.716e-05/0.332, allocations: 44.59 kB / 432 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.117e-05/0.332, allocations: 90.17 kB / 432.1 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.3322, allocations: 196.8 kB / 432.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004153/0.3326, allocations: 0.492 MB / 432.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3326, allocations: 0 / 432.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3326, allocations: 1.5 kB / 432.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.3326, allocations: 0 / 432.8 MB, free: 7.984 MB / 350.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.001169/0.3338, allocations: 0.7242 MB / 433.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.3338, allocations: 9.562 kB / 433.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.671e-05/0.3339, allocations: 41.83 kB / 433.6 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.3342, allocations: 309.2 kB / 433.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.3342, allocations: 23.72 kB / 433.9 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.689e-05/0.3343, allocations: 26.66 kB / 433.9 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006971/0.335, allocations: 358.8 kB / 434.3 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.335, allocations: 0 / 434.3 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/0.335, allocations: 10.41 kB / 434.3 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.335, allocations: 6.406 kB / 434.3 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008047/0.3358, allocations: 308.4 kB / 434.6 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002011/0.3378, allocations: 1.272 MB / 435.9 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008334/0.3387, allocations: 318.9 kB / 436.2 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004282/0.3391, allocations: 137.8 kB / 436.3 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.3391, allocations: 1.719 kB / 436.3 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004882/0.3396, allocations: 197.7 kB / 436.5 MB, free: 6.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.282e-06/0.3396, allocations: 4 kB / 436.5 MB, free: 6.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.002177/0.3418, allocations: 0.6444 MB / 437.2 MB, free: 6.258 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.3418, allocations: 106.7 kB / 437.3 MB, free: 6.133 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/0.3421, allocations: 298.1 kB / 437.6 MB, free: 6.027 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.3421, allocations: 26.92 kB / 437.6 MB, free: 5.996 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.533e-05/0.3422, allocations: 210.4 kB / 437.8 MB, free: 5.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.197e-05/0.3423, allocations: 64.44 kB / 437.9 MB, free: 5.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.631e-05/0.3423, allocations: 57.75 kB / 437.9 MB, free: 5.789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.58e-05/0.3424, allocations: 337.5 kB / 438.3 MB, free: 5.465 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003744/0.3428, allocations: 116.2 kB / 438.4 MB, free: 5.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003994/0.3432, allocations: 214.2 kB / 438.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000732/0.3439, allocations: 333.6 kB / 438.9 MB, free: 5.082 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3439, allocations: 1.125 kB / 438.9 MB, free: 5.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001254/0.3452, allocations: 484.6 kB / 439.4 MB, free: 4.906 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/0.3452, allocations: 38.72 kB / 439.4 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3452, allocations: 6.344 kB / 439.4 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003143/0.3455, allocations: 69.92 kB / 439.5 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002935/0.3458, allocations: 66.11 kB / 439.6 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/0.3477, allocations: 1.641 MB / 441.2 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003505/0.348, allocations: 57.03 kB / 441.2 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.348, allocations: 10.33 kB / 441.3 MB, free: 3.383 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.0001228/0.3482, allocations: 157.2 kB / 441.4 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.3482, allocations: 29.25 kB / 441.4 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.189e-05/0.3482, allocations: 32.3 kB / 441.5 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.3483, allocations: 1.938 kB / 441.5 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3483, allocations: 1.891 kB / 441.5 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.3483, allocations: 4.125 kB / 441.5 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00148/0.3497, allocations: 0.8019 MB / 442.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3497, allocations: 1.188 kB / 442.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/0.35, allocations: 39.48 kB / 442.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002506/0.3502, allocations: 69.2 kB / 442.4 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.3502, allocations: 6.719 kB / 442.4 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/0.3521, allocations: 1.627 MB / 444 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.3521, allocations: 1.188 kB / 444 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.3536, allocations: 0.5582 MB / 444.6 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.197e-05/0.3537, allocations: 111.1 kB / 444.7 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.088e-05/0.3537, allocations: 6.891 kB / 444.7 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002954/0.354, allocations: 38.66 kB / 444.7 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.253e-05/0.3541, allocations: 19 kB / 444.8 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.3541, allocations: 5.516 kB / 444.8 MB, free: 0.875 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002138/0.3543, allocations: 208.1 kB / 445 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3543, allocations: 0 / 445 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004124/0.3547, allocations: 85.86 kB / 445 MB, free: 0.7383 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.0001355/0.3549, allocations: 109.1 kB / 445.2 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001048/0.3559, allocations: 442.2 kB / 445.6 MB, free: 412 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3559, allocations: 1.125 kB / 445.6 MB, free: 412 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004712/0.3564, allocations: 233.8 kB / 445.8 MB, free: 272 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/0.3568, allocations: 67.2 kB / 445.9 MB, free: 244 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002874/0.3597, allocations: 0.8531 MB / 446.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004578/0.3602, allocations: 0.7659 MB / 447.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001301/0.3603, allocations: 30.95 kB / 447.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.006e-05/0.3604, allocations: 23.5 kB / 447.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3604, allocations: 0 / 447.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of Templates: time 0.009769/0.3701, allocations: 4.377 MB / 451.9 MB, free: 14.63 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.899622846394777]