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.00204/0.00204, allocations: 85.05 kB / 21.5 MB, free: 2.992 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.001888/0.001888, allocations: 145.5 kB / 24.89 MB, free: 8.742 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.8927/0.8927, allocations: 173.4 MB / 201.5 MB, free: 8.27 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 2.315e-06/2.315e-06, allocations: 3.984 kB / 268.5 MB, free: 9.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.598e-06/1.191e-05, allocations: 5.906 kB / 268.5 MB, free: 9.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.002717/0.002729, allocations: 3.036 MB / 271.5 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.00376, allocations: 0.7799 MB / 272.3 MB, free: 5.945 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.00388, allocations: 7.938 kB / 272.3 MB, free: 5.938 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.00401, allocations: 48.81 kB / 272.4 MB, free: 5.891 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000168/0.004178, allocations: 124 kB / 272.5 MB, free: 5.77 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.004418, allocations: 132.4 kB / 272.6 MB, free: 5.641 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003461/0.004764, allocations: 470.9 kB / 273.1 MB, free: 5.18 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.004911, allocations: 106 kB / 273.2 MB, free: 5.074 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002679/0.005179, allocations: 264.8 kB / 273.5 MB, free: 4.816 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.005337, allocations: 147.6 kB / 273.6 MB, free: 4.672 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.534e-05/0.005382, allocations: 44 kB / 273.6 MB, free: 4.629 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.941e-05/0.005422, allocations: 44 kB / 273.7 MB, free: 4.586 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.691e-05/0.005479, allocations: 88.36 kB / 273.8 MB, free: 4.5 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.00558, allocations: 139.7 kB / 273.9 MB, free: 4.363 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.005844, allocations: 288 kB / 274.2 MB, free: 4.082 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.382e-06/0.005846, allocations: 0 / 274.2 MB, free: 4.082 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.005846, allocations: 0 / 274.2 MB, free: 4.082 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.005851, allocations: 4.5 kB / 274.2 MB, free: 4.078 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.0006804/0.006531, allocations: 0.5884 MB / 274.8 MB, free: 3.461 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.006562, allocations: 8.031 kB / 274.8 MB, free: 3.453 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.681e-05/0.006629, allocations: 52.89 kB / 274.8 MB, free: 3.402 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.006849, allocations: 204.7 kB / 275 MB, free: 3.176 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.006863, allocations: 21.03 kB / 275.1 MB, free: 3.156 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.686e-05/0.0069, allocations: 28.38 kB / 275.1 MB, free: 3.129 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002893/0.007189, allocations: 309.7 kB / 275.4 MB, free: 2.801 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.007197, allocations: 192 / 275.4 MB, free: 2.801 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.007217, allocations: 19.92 kB / 275.4 MB, free: 2.781 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.007223, allocations: 4 kB / 275.4 MB, free: 2.777 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.007324, allocations: 84.47 kB / 275.5 MB, free: 2.695 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009045/0.008229, allocations: 0.8812 MB / 276.4 MB, free: 1.754 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.008355, allocations: 97.97 kB / 276.5 MB, free: 1.652 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.966e-05/0.008395, allocations: 36.84 kB / 276.5 MB, free: 1.613 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.00841, allocations: 4 kB / 276.5 MB, free: 1.609 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001274/0.008537, allocations: 169.2 kB / 276.7 MB, free: 1.41 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 1.002e-06/0.008538, allocations: 0 / 276.7 MB, free: 1.41 MB / 250.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007047/0.009243, allocations: 276.9 kB / 277 MB, free: 1.133 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.009308, allocations: 110.8 kB / 277.1 MB, free: 1 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.009539, allocations: 252.9 kB / 277.3 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.009561, allocations: 29.7 kB / 277.3 MB, free: 0.707 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.465e-05/0.009635, allocations: 200.7 kB / 277.5 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.009665, allocations: 51.58 kB / 277.6 MB, free: 468 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.772e-05/0.009723, allocations: 61.66 kB / 277.6 MB, free: 400 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.802e-05/0.009811, allocations: 334.8 kB / 278 MB, free: 56 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.859e-05/0.009859, allocations: 45.7 kB / 278 MB, free: 4 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.009981, allocations: 201.5 kB / 278.2 MB, free: 15.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.01011, allocations: 175.8 kB / 278.4 MB, free: 15.53 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.01011, allocations: 4 kB / 278.4 MB, free: 15.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002645/0.01038, allocations: 272.5 kB / 278.7 MB, free: 15.24 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.0104, allocations: 41.69 kB / 278.7 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.01041, allocations: 4 kB / 278.7 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001989/0.01061, allocations: 69.16 kB / 278.8 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.01072, allocations: 51.91 kB / 278.8 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009202/0.01164, allocations: 1.47 MB / 280.3 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.01176, allocations: 43.81 kB / 280.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.01178, allocations: 12 kB / 280.3 MB, free: 13.45 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 7.824e-05/0.01186, allocations: 133.7 kB / 280.5 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.01188, allocations: 19.98 kB / 280.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.494e-05/0.01191, allocations: 29.77 kB / 280.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.01191, allocations: 0 / 280.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.91e-07/0.01191, allocations: 0 / 280.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.01191, allocations: 4 kB / 280.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.01203, allocations: 153.8 kB / 280.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.01203, allocations: 3.984 kB / 280.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.072e-05/0.0121, allocations: 23.98 kB / 280.7 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001419/0.01224, allocations: 68.75 kB / 280.8 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.01225, allocations: 7.938 kB / 280.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006115/0.01286, allocations: 1.292 MB / 282.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.01286, allocations: 0 / 282.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.01309, allocations: 205.7 kB / 282.3 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.208e-05/0.01311, allocations: 23.84 kB / 282.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.01313, allocations: 4 kB / 282.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.838e-05/0.01321, allocations: 23.92 kB / 282.3 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.01325, allocations: 23.89 kB / 282.3 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.026e-06/0.01326, allocations: 8 kB / 282.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.892e-05/0.01331, allocations: 78.78 kB / 282.4 MB, free: 11.22 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01332, allocations: 0 / 282.4 MB, free: 11.22 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001981/0.01351, allocations: 95.77 kB / 282.5 MB, free: 11.12 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 7.318e-05/0.01359, allocations: 88.45 kB / 282.6 MB, free: 11.03 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002682/0.01385, allocations: 308.3 kB / 282.9 MB, free: 10.7 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.01386, allocations: 4 kB / 282.9 MB, free: 10.69 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.01397, allocations: 175.1 kB / 283.1 MB, free: 10.51 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.01412, allocations: 64.52 kB / 283.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006536/0.01477, allocations: 0.5202 MB / 283.7 MB, free: 9.898 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.523e-05/0.01482, allocations: 84.31 kB / 283.7 MB, free: 9.797 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.977e-05/0.01488, allocations: 26.28 kB / 283.8 MB, free: 9.773 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.01499, allocations: 99.34 kB / 283.9 MB, free: 9.676 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01499, allocations: 0 / 283.9 MB, free: 9.676 MB / 266.7 MB Notification: Performance of Templates: time 0.005683/0.02067, allocations: 4.629 MB / 288.5 MB, free: 5.129 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.5380349792540073]