Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.001365/0.001365, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001435/0.001435, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.9888/0.9888, allocations: 177.1 MB / 205 MB, free: 5.645 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.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 273 MB, free: 1.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.527e-05/2.708e-05, allocations: 2.312 kB / 273 MB, free: 1.516 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.006878/0.006906, allocations: 3.095 MB / 276.1 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004553/0.01146, allocations: 0.7792 MB / 276.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002267/0.01169, allocations: 15.94 kB / 276.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001815/0.01187, allocations: 55.48 kB / 277 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002424/0.01211, allocations: 126.9 kB / 277.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003654/0.01247, allocations: 127.7 kB / 277.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005421/0.01302, allocations: 470 kB / 277.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002194/0.01324, allocations: 87.5 kB / 277.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005127/0.01375, allocations: 275.3 kB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.01395, allocations: 147.6 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.503e-05/0.01401, allocations: 44 kB / 278.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.718e-05/0.01406, allocations: 44 kB / 278.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.515e-05/0.01413, allocations: 87.67 kB / 278.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.01426, allocations: 139.7 kB / 278.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002925/0.01455, allocations: 283 kB / 278.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.01456, allocations: 0 / 278.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.01456, allocations: 4 kB / 278.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.01457, allocations: 0 / 278.8 MB, free: 11.75 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.0009238/0.01549, allocations: 0.7197 MB / 279.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.01553, allocations: 12.03 kB / 279.5 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.992e-05/0.01563, allocations: 68.64 kB / 279.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.01593, allocations: 247.5 kB / 279.8 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.01595, allocations: 21.03 kB / 279.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.31e-05/0.01599, allocations: 36.31 kB / 279.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004096/0.0164, allocations: 323.3 kB / 280.2 MB, free: 10.24 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.01641, allocations: 4.188 kB / 280.2 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.01643, allocations: 11.94 kB / 280.2 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.01644, allocations: 8 kB / 280.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.01663, allocations: 111.9 kB / 280.3 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.01781, allocations: 1.143 MB / 281.5 MB, free: 8.883 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.01799, allocations: 107 kB / 281.6 MB, free: 8.766 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.09e-05/0.01806, allocations: 47.66 kB / 281.6 MB, free: 8.715 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.01809, allocations: 7.938 kB / 281.6 MB, free: 8.707 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001925/0.01828, allocations: 179.5 kB / 281.8 MB, free: 8.492 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.01828, allocations: 3.938 kB / 281.8 MB, free: 8.488 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007273/0.01901, allocations: 343.6 kB / 282.1 MB, free: 8.145 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.01906, allocations: 106.8 kB / 282.2 MB, free: 8.016 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.01926, allocations: 316.2 kB / 282.5 MB, free: 7.691 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.01928, allocations: 25.7 kB / 282.6 MB, free: 7.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.01939, allocations: 263 kB / 282.8 MB, free: 7.398 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.01943, allocations: 51.53 kB / 282.9 MB, free: 7.348 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.323e-05/0.0195, allocations: 63.31 kB / 282.9 MB, free: 7.277 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.01963, allocations: 0.504 MB / 283.4 MB, free: 6.762 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.268e-05/0.01971, allocations: 65.67 kB / 283.5 MB, free: 6.691 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.01986, allocations: 252.7 kB / 283.7 MB, free: 6.367 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.02004, allocations: 225 kB / 284 MB, free: 6.094 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.02004, allocations: 4 kB / 284 MB, free: 6.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004088/0.02045, allocations: 340.4 kB / 284.3 MB, free: 5.734 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.398e-05/0.02049, allocations: 41.69 kB / 284.3 MB, free: 5.688 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.02049, allocations: 4 kB / 284.3 MB, free: 5.684 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002713/0.02076, allocations: 71.7 kB / 284.4 MB, free: 5.609 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.0209, allocations: 55.91 kB / 284.5 MB, free: 5.555 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001417/0.02231, allocations: 2.149 MB / 286.6 MB, free: 3.281 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.02245, allocations: 47.86 kB / 286.7 MB, free: 3.234 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.02247, allocations: 12 kB / 286.7 MB, free: 3.223 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 (26): * Single equations (assignments): 24 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001031/0.02257, allocations: 180.4 kB / 286.9 MB, free: 3.035 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.0226, allocations: 27.84 kB / 286.9 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.67e-05/0.02263, allocations: 25.78 kB / 286.9 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.02263, allocations: 3.984 kB / 286.9 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.02263, allocations: 4.125 kB / 286.9 MB, free: 2.973 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.02264, allocations: 4 kB / 286.9 MB, free: 2.969 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.0228, allocations: 236.4 kB / 287.2 MB, free: 2.703 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.0228, allocations: 0 / 287.2 MB, free: 2.703 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.151e-05/0.02288, allocations: 31.91 kB / 287.2 MB, free: 2.672 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001708/0.02305, allocations: 71.64 kB / 287.3 MB, free: 2.598 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.02306, allocations: 8 kB / 287.3 MB, free: 2.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008785/0.02394, allocations: 1.877 MB / 289.1 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.02395, allocations: 7.969 kB / 289.1 MB, free: 0.582 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003335/0.02428, allocations: 274.4 kB / 289.4 MB, free: 296 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.561e-05/0.0243, allocations: 23.81 kB / 289.4 MB, free: 272 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.02433, allocations: 4 kB / 289.4 MB, free: 268 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.625e-05/0.02441, allocations: 27.97 kB / 289.5 MB, free: 240 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.378e-05/0.02448, allocations: 20 kB / 289.5 MB, free: 220 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.02449, allocations: 4 kB / 289.5 MB, free: 216 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001297/0.02462, allocations: 221.1 kB / 289.7 MB, free: 15.99 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02462, allocations: 0 / 289.7 MB, free: 15.99 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002437/0.02486, allocations: 87.83 kB / 289.8 MB, free: 15.91 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.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 (11): * Single equations (assignments): 8 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001059/0.02497, allocations: 103.2 kB / 289.9 MB, free: 15.8 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003937/0.02536, allocations: 394.1 kB / 290.3 MB, free: 15.38 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.02536, allocations: 0 / 290.3 MB, free: 15.38 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.02552, allocations: 241.4 kB / 290.5 MB, free: 15.12 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.02575, allocations: 56.34 kB / 290.6 MB, free: 15.06 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008679/0.02662, allocations: 0.522 MB / 291.1 MB, free: 14.51 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.049e-05/0.02667, allocations: 96.19 kB / 291.2 MB, free: 14.4 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.796e-05/0.02675, allocations: 26.28 kB / 291.2 MB, free: 14.37 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.845e-05/0.0268, allocations: 20.5 kB / 291.2 MB, free: 14.35 MB / 282.7 MB Notification: Performance of SimCode: time 7.01e-07/0.0268, allocations: 0 / 291.2 MB, free: 14.35 MB / 282.7 MB Notification: Performance of Templates: time 0.007161/0.03396, allocations: 4.701 MB / 295.9 MB, free: 9.723 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.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.9196100747212768]