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.001398/0.001398, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 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.001035/0.001035, allocations: 165.9 kB / 24.99 MB, free: 8.336 MB / 18.57 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 0.9389/0.9389, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 1.694e-06/1.694e-06, allocations: 0 / 273.1 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.81e-05/1.98e-05, allocations: 2.312 kB / 273.1 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003669/0.003689, allocations: 3.094 MB / 276.2 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.004851, allocations: 0.7908 MB / 277 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.004994, allocations: 4 kB / 277 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.005149, allocations: 47.5 kB / 277 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001983/0.005347, allocations: 134.9 kB / 277.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002855/0.005632, allocations: 127.7 kB / 277.3 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004252/0.006058, allocations: 474 kB / 277.8 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001984/0.006256, allocations: 95.48 kB / 277.8 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003805/0.006637, allocations: 267.3 kB / 278.1 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001875/0.006824, allocations: 151.6 kB / 278.3 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.417e-05/0.006878, allocations: 44 kB / 278.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.409e-05/0.006932, allocations: 52 kB / 278.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.284e-05/0.006995, allocations: 87.67 kB / 278.4 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.007124, allocations: 135.7 kB / 278.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003214/0.007445, allocations: 287 kB / 278.9 MB, free: 12.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.007448, allocations: 3.984 kB / 278.9 MB, free: 12.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.007449, allocations: 0 / 278.9 MB, free: 12.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.007454, allocations: 0 / 278.9 MB, free: 12.02 MB / 266.7 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.0009403/0.008394, allocations: 0.7237 MB / 279.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.008428, allocations: 12.03 kB / 279.6 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.831e-05/0.008526, allocations: 60.7 kB / 279.6 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.00883, allocations: 247.5 kB / 279.9 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.008852, allocations: 21.03 kB / 279.9 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.957e-05/0.008902, allocations: 36.31 kB / 279.9 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000482/0.009384, allocations: 331.3 kB / 280.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.009394, allocations: 192 / 280.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/0.009422, allocations: 15.94 kB / 280.3 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.009433, allocations: 4 kB / 280.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000247/0.00968, allocations: 111.9 kB / 280.4 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.01108, allocations: 1.124 MB / 281.5 MB, free: 9.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002776/0.01136, allocations: 139 kB / 281.7 MB, free: 9.031 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.01149, allocations: 59.66 kB / 281.7 MB, free: 8.969 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.01151, allocations: 4 kB / 281.7 MB, free: 8.965 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000211/0.01172, allocations: 191.4 kB / 281.9 MB, free: 8.738 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.152e-06/0.01172, allocations: 0 / 281.9 MB, free: 8.738 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.000734/0.01246, allocations: 287.3 kB / 282.2 MB, free: 8.449 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.01251, allocations: 114.8 kB / 282.3 MB, free: 8.312 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.01276, allocations: 320.5 kB / 282.6 MB, free: 7.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.01278, allocations: 29.64 kB / 282.6 MB, free: 7.945 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.01291, allocations: 259 kB / 282.9 MB, free: 7.688 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.52e-05/0.01295, allocations: 67.47 kB / 283 MB, free: 7.621 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.347e-05/0.01304, allocations: 59.36 kB / 283 MB, free: 7.555 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.01317, allocations: 0.504 MB / 283.5 MB, free: 7.039 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.01328, allocations: 65.95 kB / 283.6 MB, free: 6.969 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/0.01346, allocations: 254 kB / 283.8 MB, free: 6.645 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.0137, allocations: 237.1 kB / 284.1 MB, free: 6.359 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.0137, allocations: 0 / 284.1 MB, free: 6.359 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004941/0.0142, allocations: 340.4 kB / 284.4 MB, free: 6.004 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.01423, allocations: 33.7 kB / 284.4 MB, free: 5.965 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.01424, allocations: 4 kB / 284.4 MB, free: 5.961 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002126/0.01445, allocations: 51.72 kB / 284.5 MB, free: 5.906 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.01463, allocations: 67.91 kB / 284.6 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001046/0.01568, allocations: 1.775 MB / 286.3 MB, free: 3.941 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.01587, allocations: 51.69 kB / 286.4 MB, free: 3.891 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.01589, allocations: 16 kB / 286.4 MB, free: 3.875 MB / 266.7 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.0001133/0.016, allocations: 172.5 kB / 286.6 MB, free: 3.695 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.836e-05/0.01604, allocations: 23.86 kB / 286.6 MB, free: 3.672 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.708e-05/0.01608, allocations: 30.11 kB / 286.6 MB, free: 3.641 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.01608, allocations: 0 / 286.6 MB, free: 3.641 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.01608, allocations: 8 kB / 286.6 MB, free: 3.633 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01609, allocations: 0 / 286.6 MB, free: 3.633 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006742/0.01676, allocations: 0.5706 MB / 287.2 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.01676, allocations: 0 / 287.2 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.01689, allocations: 35.98 kB / 287.2 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001425/0.01703, allocations: 63.5 kB / 287.3 MB, free: 2.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.01705, allocations: 3.984 kB / 287.3 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008853/0.01793, allocations: 1.771 MB / 289.1 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01793, allocations: 0 / 289.1 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004568/0.01839, allocations: 377.8 kB / 289.4 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.724e-05/0.01843, allocations: 31.8 kB / 289.5 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.01846, allocations: 4 kB / 289.5 MB, free: 0.582 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.01862, allocations: 32.06 kB / 289.5 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.556e-05/0.01868, allocations: 23.84 kB / 289.5 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.01869, allocations: 4 kB / 289.5 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001566/0.01885, allocations: 221.1 kB / 289.7 MB, free: 316 kB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01885, allocations: 0 / 289.7 MB, free: 316 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003399/0.01919, allocations: 83.78 kB / 289.8 MB, free: 232 kB / 266.7 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 9.976e-05/0.01929, allocations: 107.2 kB / 289.9 MB, free: 116 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004459/0.01974, allocations: 392.6 kB / 290.3 MB, free: 15.69 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01974, allocations: 0 / 290.3 MB, free: 15.69 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001705/0.01991, allocations: 229 kB / 290.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.02026, allocations: 61.11 kB / 290.6 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.02176, allocations: 0.6698 MB / 291.3 MB, free: 14.69 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.084e-05/0.02182, allocations: 92.17 kB / 291.4 MB, free: 14.58 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.535e-05/0.02192, allocations: 30.97 kB / 291.4 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.165e-05/0.02198, allocations: 24.5 kB / 291.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of SimCode: time 7.41e-07/0.02198, allocations: 0 / 291.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of Templates: time 0.00721/0.02919, allocations: 4.356 MB / 295.8 MB, free: 10.23 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9173629279248416]