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.001479/0.001479, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.001527/0.001527, allocations: 163.9 kB / 23.96 MB, free: 4.148 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.448/1.448, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.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.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.833e-06/1.833e-06, allocations: 1.25 kB / 325.1 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.693e-05/2.876e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004494/0.004523, allocations: 2.889 MB / 328 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.006421, allocations: 0.7743 MB / 328.8 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001813/0.006602, allocations: 5.344 kB / 328.8 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001906/0.006793, allocations: 57.38 kB / 328.8 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000262/0.007055, allocations: 126.7 kB / 329 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003645/0.00742, allocations: 131.7 kB / 329.1 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005694/0.007989, allocations: 466.5 kB / 329.5 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002213/0.00821, allocations: 92.86 kB / 329.6 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004648/0.008675, allocations: 271.2 kB / 329.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.008917, allocations: 139.5 kB / 330 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.316e-05/0.00898, allocations: 43.91 kB / 330.1 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.133e-05/0.009051, allocations: 43.84 kB / 330.1 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.82e-05/0.009149, allocations: 91.22 kB / 330.2 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.009326, allocations: 140.9 kB / 330.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005813/0.009907, allocations: 0.503 MB / 330.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.009911, allocations: 0 / 330.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.009912, allocations: 0 / 330.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.009919, allocations: 1.469 kB / 330.9 MB, free: 12.89 MB / 302.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.001462/0.01138, allocations: 0.6351 MB / 331.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.01142, allocations: 9.062 kB / 331.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.236e-05/0.01151, allocations: 39.17 kB / 331.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004356/0.01195, allocations: 254.8 kB / 331.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.89e-05/0.01198, allocations: 19.53 kB / 331.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.283e-05/0.01204, allocations: 35.2 kB / 331.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008432/0.01288, allocations: 404 kB / 332.2 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.0129, allocations: 192 / 332.2 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.714e-05/0.01293, allocations: 15.44 kB / 332.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.01294, allocations: 5.719 kB / 332.3 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008865/0.01383, allocations: 306.8 kB / 332.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002219/0.01605, allocations: 1.105 MB / 333.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007565/0.0168, allocations: 212.9 kB / 333.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003697/0.01717, allocations: 111.5 kB / 334 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.0172, allocations: 1.875 kB / 334 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005391/0.01774, allocations: 238.7 kB / 334.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.442e-06/0.01774, allocations: 1.188 kB / 334.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002589/0.02033, allocations: 0.6088 MB / 334.8 MB, free: 10.1 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.095e-05/0.02041, allocations: 110.9 kB / 334.9 MB, free: 9.969 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000346/0.02076, allocations: 284 kB / 335.2 MB, free: 9.773 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.02079, allocations: 35.05 kB / 335.2 MB, free: 9.734 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.02098, allocations: 216.2 kB / 335.4 MB, free: 9.535 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.47e-05/0.02103, allocations: 54.84 kB / 335.5 MB, free: 9.488 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.02114, allocations: 52.77 kB / 335.6 MB, free: 9.449 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.02131, allocations: 332 kB / 335.9 MB, free: 9.121 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004137/0.02173, allocations: 143.9 kB / 336 MB, free: 9.035 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005166/0.02224, allocations: 296.1 kB / 336.3 MB, free: 8.758 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008153/0.02306, allocations: 321.9 kB / 336.6 MB, free: 8.523 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.02306, allocations: 5.078 kB / 336.6 MB, free: 8.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00141/0.02447, allocations: 0.5032 MB / 337.1 MB, free: 8.227 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.082e-05/0.02451, allocations: 35.83 kB / 337.2 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.02452, allocations: 2.156 kB / 337.2 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003883/0.02491, allocations: 93.45 kB / 337.3 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002589/0.02517, allocations: 54.7 kB / 337.3 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002873/0.02804, allocations: 1.873 MB / 339.2 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003626/0.0284, allocations: 49.55 kB / 339.2 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.799e-05/0.02843, allocations: 13.53 kB / 339.2 MB, free: 6.453 MB / 302.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 (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.000208/0.02864, allocations: 165.7 kB / 339.4 MB, free: 6.289 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.02868, allocations: 27.81 kB / 339.4 MB, free: 6.262 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.6e-05/0.02874, allocations: 25.77 kB / 339.5 MB, free: 6.242 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.02875, allocations: 4 kB / 339.5 MB, free: 6.238 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-06/0.02875, allocations: 0 / 339.5 MB, free: 6.238 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.02875, allocations: 0 / 339.5 MB, free: 6.238 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.02904, allocations: 225.2 kB / 339.7 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.02904, allocations: 3.984 kB / 339.7 MB, free: 5.984 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.02925, allocations: 32.09 kB / 339.7 MB, free: 5.953 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002959/0.02954, allocations: 80.81 kB / 339.8 MB, free: 5.871 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.02956, allocations: 3.984 kB / 339.8 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002579/0.03214, allocations: 1.678 MB / 341.5 MB, free: 4.082 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.03214, allocations: 3.938 kB / 341.5 MB, free: 4.078 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/0.03371, allocations: 496.7 kB / 342 MB, free: 3.574 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.1e-05/0.03376, allocations: 27.88 kB / 342 MB, free: 3.547 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.853e-05/0.03381, allocations: 7.938 kB / 342 MB, free: 3.539 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002647/0.03407, allocations: 31.97 kB / 342 MB, free: 3.508 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.526e-05/0.03416, allocations: 27.94 kB / 342.1 MB, free: 3.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.03417, allocations: 4.188 kB / 342.1 MB, free: 3.477 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002223/0.0344, allocations: 197.2 kB / 342.3 MB, free: 3.285 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.0344, allocations: 4.062 kB / 342.3 MB, free: 3.281 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004489/0.03485, allocations: 95.78 kB / 342.4 MB, free: 3.184 MB / 302.1 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.0001418/0.03499, allocations: 103.2 kB / 342.5 MB, free: 3.074 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001194/0.03618, allocations: 463.5 kB / 342.9 MB, free: 2.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.03618, allocations: 0 / 342.9 MB, free: 2.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005434/0.03673, allocations: 243 kB / 343.1 MB, free: 2.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.0371, allocations: 58.41 kB / 343.2 MB, free: 2.289 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.03833, allocations: 0.5379 MB / 343.7 MB, free: 1.723 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000161/0.03849, allocations: 159.4 kB / 343.9 MB, free: 1.547 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001123/0.03861, allocations: 34.27 kB / 343.9 MB, free: 1.512 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.882e-05/0.03867, allocations: 24.5 kB / 344 MB, free: 1.488 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.03867, allocations: 4 kB / 344 MB, free: 1.484 MB / 302.1 MB Notification: Performance of Templates: time 0.009523/0.0482, allocations: 4.389 MB / 348.3 MB, free: 13.15 MB / 318.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.453299578279257]