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.0007681/0.0007681, allocations: 84 kB / 21.43 MB, free: 3.133 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.003603/0.003603, allocations: 149.4 kB / 24.69 MB, free: 9.434 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.8171/0.8171, allocations: 173.4 MB / 201.2 MB, free: 9.43 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.233e-06/1.233e-06, allocations: 3.938 kB / 319.7 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.675e-05/1.799e-05, allocations: 2.281 kB / 319.7 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.002528/0.002546, allocations: 2.859 MB / 322.6 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009078/0.003453, allocations: 0.7402 MB / 323.3 MB, free: 2.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.003574, allocations: 12 kB / 323.3 MB, free: 2.168 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.003696, allocations: 55.44 kB / 323.4 MB, free: 2.113 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000147/0.003843, allocations: 123 kB / 323.5 MB, free: 1.992 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.004075, allocations: 127.7 kB / 323.6 MB, free: 1.867 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003176/0.004392, allocations: 470 kB / 324.1 MB, free: 1.406 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.004552, allocations: 87.48 kB / 324.2 MB, free: 1.32 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002292/0.004781, allocations: 267.4 kB / 324.4 MB, free: 1.059 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.004913, allocations: 143.6 kB / 324.6 MB, free: 0.918 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.182e-05/0.004955, allocations: 44 kB / 324.6 MB, free: 0.875 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.538e-05/0.00499, allocations: 48 kB / 324.7 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.805e-05/0.005038, allocations: 87.67 kB / 324.8 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.186e-05/0.00513, allocations: 139.6 kB / 324.9 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003902/0.00552, allocations: 0.5024 MB / 325.4 MB, free: 104 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.005522, allocations: 0 / 325.4 MB, free: 104 kB / 282.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.005523, allocations: 0 / 325.4 MB, free: 104 kB / 282.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.005528, allocations: 0 / 325.4 MB, free: 104 kB / 282.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.0008113/0.006339, allocations: 0.635 MB / 326 MB, free: 15.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.796e-05/0.006367, allocations: 8.031 kB / 326 MB, free: 15.42 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.581e-05/0.006423, allocations: 44.7 kB / 326.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/0.006695, allocations: 252.6 kB / 326.3 MB, free: 15.1 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.006712, allocations: 21.03 kB / 326.4 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.66e-05/0.006748, allocations: 32.31 kB / 326.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004393/0.007187, allocations: 401 kB / 326.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.007198, allocations: 4.125 kB / 326.8 MB, free: 14.63 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.007218, allocations: 15.94 kB / 326.8 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.007227, allocations: 11.98 kB / 326.8 MB, free: 14.61 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004286/0.007655, allocations: 294.4 kB / 327.1 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.008821, allocations: 1.098 MB / 328.2 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003448/0.009166, allocations: 218.3 kB / 328.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.009333, allocations: 112.8 kB / 328.5 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.009349, allocations: 4 kB / 328.5 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002801/0.009629, allocations: 248.6 kB / 328.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.009631, allocations: 0 / 328.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001158/0.01079, allocations: 0.6071 MB / 329.4 MB, free: 11.92 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.01083, allocations: 110.8 kB / 329.5 MB, free: 11.79 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.01102, allocations: 281.8 kB / 329.8 MB, free: 11.51 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.01104, allocations: 29.7 kB / 329.8 MB, free: 11.47 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.392e-05/0.01113, allocations: 216.3 kB / 330 MB, free: 11.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.01116, allocations: 51.59 kB / 330 MB, free: 11.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.913e-05/0.01122, allocations: 57.64 kB / 330.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.448e-05/0.0113, allocations: 330.8 kB / 330.4 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.0115, allocations: 149.5 kB / 330.6 MB, free: 10.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.01173, allocations: 289.3 kB / 330.9 MB, free: 10.31 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003737/0.01211, allocations: 335.7 kB / 331.2 MB, free: 9.941 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.01211, allocations: 0 / 331.2 MB, free: 9.941 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006442/0.01275, allocations: 0.5092 MB / 331.7 MB, free: 9.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.01278, allocations: 33.7 kB / 331.7 MB, free: 9.371 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.01278, allocations: 0 / 331.7 MB, free: 9.371 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002096/0.01299, allocations: 84.8 kB / 331.8 MB, free: 9.285 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.01312, allocations: 59.95 kB / 331.9 MB, free: 9.227 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/0.0145, allocations: 1.856 MB / 333.7 MB, free: 7.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.01465, allocations: 63.83 kB / 333.8 MB, free: 7.207 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.01467, allocations: 12 kB / 333.8 MB, free: 7.195 MB / 298.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.0001011/0.01477, allocations: 157.7 kB / 333.9 MB, free: 7.031 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/0.01479, allocations: 23.86 kB / 334 MB, free: 7.008 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.668e-05/0.01482, allocations: 25.77 kB / 334 MB, free: 6.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.01482, allocations: 8.031 kB / 334 MB, free: 6.973 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.01482, allocations: 0 / 334 MB, free: 6.973 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.01483, allocations: 3.984 kB / 334 MB, free: 6.969 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.01497, allocations: 237 kB / 334.2 MB, free: 6.707 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01498, allocations: 0 / 334.2 MB, free: 6.707 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.829e-05/0.01506, allocations: 27.97 kB / 334.3 MB, free: 6.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001483/0.01521, allocations: 80.8 kB / 334.3 MB, free: 6.598 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.01522, allocations: 8 kB / 334.4 MB, free: 6.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/0.0164, allocations: 1.675 MB / 336 MB, free: 4.812 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.0164, allocations: 3.938 kB / 336 MB, free: 4.809 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006932/0.0171, allocations: 497.4 kB / 336.5 MB, free: 4.301 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.882e-05/0.01713, allocations: 27.81 kB / 336.5 MB, free: 4.273 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.01715, allocations: 4 kB / 336.5 MB, free: 4.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.01726, allocations: 40.02 kB / 336.6 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.942e-05/0.01732, allocations: 19.97 kB / 336.6 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.01733, allocations: 4 kB / 336.6 MB, free: 4.207 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001297/0.01746, allocations: 201.2 kB / 336.8 MB, free: 4.012 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01746, allocations: 0 / 336.8 MB, free: 4.012 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002228/0.01768, allocations: 87.84 kB / 336.9 MB, free: 3.926 MB / 298.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 8.093e-05/0.01776, allocations: 110 kB / 337 MB, free: 3.812 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005777/0.01834, allocations: 469.9 kB / 337.5 MB, free: 3.324 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.01834, allocations: 4.688 kB / 337.5 MB, free: 3.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002366/0.01858, allocations: 250.4 kB / 337.7 MB, free: 3.062 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.01878, allocations: 52.45 kB / 337.8 MB, free: 3.012 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006835/0.01946, allocations: 0.5554 MB / 338.3 MB, free: 2.422 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.879e-05/0.01955, allocations: 163.4 kB / 338.5 MB, free: 2.242 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.179e-05/0.0196, allocations: 28.5 kB / 338.5 MB, free: 2.215 MB / 298.7 MB Notification: Performance of SimCode: time 2.71e-07/0.0196, allocations: 0 / 338.5 MB, free: 2.215 MB / 298.7 MB Notification: Performance of Templates: time 0.004392/0.02399, allocations: 5.254 MB / 343.8 MB, free: 12.97 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.311753491871059]