Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 80.62 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 143.7 kB / 25.59 MB, free: 8.91 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9524/0.9524, allocations: 173.4 MB / 202.2 MB, free: 8.312 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 269.2 MB, free: 9.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.4e-05/2.554e-05, allocations: 2.312 kB / 269.2 MB, free: 9.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.00694/0.006965, allocations: 3.046 MB / 272.3 MB, free: 6.688 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004495/0.01146, allocations: 0.7521 MB / 273 MB, free: 5.938 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002162/0.01168, allocations: 7.938 kB / 273 MB, free: 5.93 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.01186, allocations: 52.25 kB / 273.1 MB, free: 5.879 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002411/0.0121, allocations: 128.2 kB / 273.2 MB, free: 5.754 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003394/0.01244, allocations: 129.1 kB / 273.3 MB, free: 5.629 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004707/0.01291, allocations: 470 kB / 273.8 MB, free: 5.168 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003207/0.01612, allocations: 103.4 kB / 273.9 MB, free: 5.066 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004026/0.01652, allocations: 257.4 kB / 274.2 MB, free: 4.816 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.01673, allocations: 155.5 kB / 274.3 MB, free: 4.664 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.051e-05/0.01679, allocations: 44 kB / 274.3 MB, free: 4.621 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.242e-05/0.01684, allocations: 44 kB / 274.4 MB, free: 4.578 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.082e-05/0.01691, allocations: 87.67 kB / 274.5 MB, free: 4.492 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.01705, allocations: 140.5 kB / 274.6 MB, free: 4.355 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003442/0.01739, allocations: 287 kB / 274.9 MB, free: 4.074 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.0174, allocations: 0.9062 kB / 274.9 MB, free: 4.074 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.0174, allocations: 0 / 274.9 MB, free: 4.074 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.0174, allocations: 0 / 274.9 MB, free: 4.074 MB / 250.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.0009406/0.01834, allocations: 0.7218 MB / 275.6 MB, free: 3.309 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.01838, allocations: 8.031 kB / 275.6 MB, free: 3.301 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.5e-05/0.01847, allocations: 60.7 kB / 275.7 MB, free: 3.242 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.01876, allocations: 247.5 kB / 275.9 MB, free: 2.973 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.01878, allocations: 21.03 kB / 275.9 MB, free: 2.953 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.772e-05/0.01883, allocations: 32.38 kB / 276 MB, free: 2.922 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003442/0.02227, allocations: 311.3 kB / 276.3 MB, free: 2.594 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.02229, allocations: 192 / 276.3 MB, free: 2.594 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.02231, allocations: 11.94 kB / 276.3 MB, free: 2.582 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.02232, allocations: 8 kB / 276.3 MB, free: 2.574 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.02249, allocations: 92.45 kB / 276.4 MB, free: 2.484 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/0.02393, allocations: 1.135 MB / 277.5 MB, free: 1.273 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.02411, allocations: 110.5 kB / 277.6 MB, free: 1.156 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.903e-05/0.02417, allocations: 35.61 kB / 277.7 MB, free: 1.117 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.02419, allocations: 8 kB / 277.7 MB, free: 1.109 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001882/0.02438, allocations: 183.4 kB / 277.9 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 2.074e-06/0.02438, allocations: 0 / 277.9 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of matching and sorting (n=15): time 0.003849/0.02823, allocations: 308.8 kB / 278.2 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.02828, allocations: 106.8 kB / 278.3 MB, free: 460 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.02851, allocations: 324 kB / 278.6 MB, free: 120 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.02853, allocations: 29.7 kB / 278.6 MB, free: 84 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.02868, allocations: 263 kB / 278.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/0.02872, allocations: 51.58 kB / 278.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.815e-05/0.02881, allocations: 59.34 kB / 279 MB, free: 15.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.02895, allocations: 0.504 MB / 279.5 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.185e-05/0.02902, allocations: 53.67 kB / 279.5 MB, free: 15.13 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.02918, allocations: 249.1 kB / 279.8 MB, free: 14.81 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002033/0.02939, allocations: 213.7 kB / 280 MB, free: 14.54 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.02939, allocations: 3.938 kB / 280 MB, free: 14.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004703/0.02986, allocations: 315.3 kB / 280.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.005e-05/0.0299, allocations: 39.89 kB / 280.3 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.02991, allocations: 4 kB / 280.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002794/0.03019, allocations: 83.89 kB / 280.4 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.03035, allocations: 51.97 kB / 280.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004424/0.03478, allocations: 2.123 MB / 282.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.03499, allocations: 39.81 kB / 282.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.03501, allocations: 8 kB / 282.6 MB, free: 11.74 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.0001317/0.03514, allocations: 187.1 kB / 282.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.306e-05/0.03518, allocations: 31.81 kB / 282.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.565e-05/0.03522, allocations: 25.77 kB / 282.9 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.03522, allocations: 4 kB / 282.9 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.03522, allocations: 0 / 282.9 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.03523, allocations: 48 / 282.9 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.03542, allocations: 197 kB / 283.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.03542, allocations: 3.938 kB / 283.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.836e-05/0.03552, allocations: 19.98 kB / 283.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002155/0.03573, allocations: 71.62 kB / 283.2 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.03574, allocations: 8 kB / 283.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004099/0.03984, allocations: 1.854 MB / 285 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.03985, allocations: 0 / 285 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004148/0.04026, allocations: 239.7 kB / 285.3 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.132e-05/0.0403, allocations: 27.8 kB / 285.3 MB, free: 8.906 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/0.04033, allocations: 12 kB / 285.3 MB, free: 8.895 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.04046, allocations: 27.91 kB / 285.3 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.544e-05/0.04052, allocations: 19.97 kB / 285.3 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/0.04053, allocations: 3.938 kB / 285.3 MB, free: 8.844 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000131/0.04066, allocations: 205.1 kB / 285.5 MB, free: 8.641 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04066, allocations: 0 / 285.5 MB, free: 8.641 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003853/0.04105, allocations: 91.84 kB / 285.6 MB, free: 8.551 MB / 266.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.0001204/0.04117, allocations: 107.2 kB / 285.7 MB, free: 8.434 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000402/0.04157, allocations: 378.3 kB / 286.1 MB, free: 8.023 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.04157, allocations: 0 / 286.1 MB, free: 8.023 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001848/0.04176, allocations: 240.6 kB / 286.3 MB, free: 7.77 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.04204, allocations: 61.27 kB / 286.4 MB, free: 7.711 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003952/0.04599, allocations: 0.5102 MB / 286.9 MB, free: 7.172 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.915e-05/0.04605, allocations: 84.31 kB / 287 MB, free: 7.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.665e-05/0.04615, allocations: 26.28 kB / 287 MB, free: 7.047 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.04631, allocations: 130.2 kB / 287.2 MB, free: 6.918 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.04631, allocations: 0 / 287.2 MB, free: 6.918 MB / 266.7 MB Notification: Performance of Templates: time 0.007841/0.05415, allocations: 4.842 MB / 292 MB, free: 2.148 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.8432891303673387]