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.002433/0.002433, allocations: 99.86 kB / 20.96 MB, free: 3.457 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.002815/0.002815, allocations: 145.1 kB / 24.26 MB, free: 168 kB / 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 1.524/1.524, allocations: 173.3 MB / 200.8 MB, free: 9.289 MB / 186.7 MB " [Timeout remaining time 178] 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.673e-06/1.673e-06, allocations: 0 / 267.3 MB, free: 6.676 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.642e-05/3.809e-05, allocations: 10.25 kB / 267.4 MB, free: 6.664 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.005147/0.005185, allocations: 3.044 MB / 270.4 MB, free: 3.602 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.006994, allocations: 0.748 MB / 271.1 MB, free: 2.852 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002934/0.007287, allocations: 8 kB / 271.2 MB, free: 2.844 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002578/0.007545, allocations: 59.36 kB / 271.2 MB, free: 2.785 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003292/0.007874, allocations: 123 kB / 271.3 MB, free: 2.664 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005506/0.008425, allocations: 127.8 kB / 271.5 MB, free: 2.539 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007885/0.009213, allocations: 470 kB / 271.9 MB, free: 2.078 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003078/0.009521, allocations: 103.4 kB / 272 MB, free: 1.977 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004814/0.01, allocations: 263.3 kB / 272.3 MB, free: 1.719 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002765/0.01028, allocations: 147.6 kB / 272.4 MB, free: 1.574 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.408e-05/0.01036, allocations: 44 kB / 272.5 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.486e-05/0.01045, allocations: 44 kB / 272.5 MB, free: 1.488 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.01058, allocations: 95.66 kB / 272.6 MB, free: 1.395 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002036/0.01078, allocations: 139.6 kB / 272.7 MB, free: 1.258 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006962/0.01148, allocations: 0.4946 MB / 273.2 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.01148, allocations: 0 / 273.2 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.01148, allocations: 0 / 273.2 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.01149, allocations: 0 / 273.2 MB, free: 0.7617 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.001479/0.01297, allocations: 0.7478 MB / 274 MB, free: 15.97 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.01301, allocations: 8.031 kB / 274 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.01315, allocations: 64.7 kB / 274 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004367/0.01358, allocations: 255.5 kB / 274.3 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.01361, allocations: 25.03 kB / 274.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.671e-05/0.01368, allocations: 36.3 kB / 274.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009919/0.01467, allocations: 394.7 kB / 274.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.01468, allocations: 3 kB / 274.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.539e-05/0.01472, allocations: 12 kB / 274.8 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.01473, allocations: 11.98 kB / 274.8 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007105/0.01544, allocations: 262.4 kB / 275 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002415/0.01786, allocations: 1.282 MB / 276.3 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005557/0.01841, allocations: 195 kB / 276.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002687/0.01868, allocations: 95.64 kB / 276.6 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.655e-05/0.01872, allocations: 4 kB / 276.6 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005042/0.01922, allocations: 250.2 kB / 276.8 MB, free: 12.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.01922, allocations: 0 / 276.8 MB, free: 12.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.001941/0.02116, allocations: 476.8 kB / 277.3 MB, free: 12.45 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/0.0213, allocations: 110.8 kB / 277.4 MB, free: 12.31 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004903/0.02179, allocations: 380.3 kB / 277.8 MB, free: 11.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/0.02182, allocations: 25.7 kB / 277.8 MB, free: 11.89 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002404/0.02206, allocations: 282.9 kB / 278.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.117e-05/0.02213, allocations: 55.58 kB / 278.1 MB, free: 11.56 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.02225, allocations: 67.36 kB / 278.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000313/0.02257, allocations: 0.5313 MB / 278.7 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003244/0.02289, allocations: 117.6 kB / 278.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004786/0.02337, allocations: 320.6 kB / 279.2 MB, free: 10.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006662/0.02403, allocations: 329.7 kB / 279.5 MB, free: 10.05 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.02404, allocations: 4 kB / 279.5 MB, free: 10.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001145/0.02519, allocations: 467.7 kB / 279.9 MB, free: 9.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.534e-05/0.02524, allocations: 41.64 kB / 280 MB, free: 9.523 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.02525, allocations: 4 kB / 280 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005655/0.02582, allocations: 107.6 kB / 280.1 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.02605, allocations: 55.91 kB / 280.2 MB, free: 9.355 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003198/0.02925, allocations: 2.375 MB / 282.5 MB, free: 6.855 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003157/0.02957, allocations: 47.8 kB / 282.6 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/0.0296, allocations: 15.94 kB / 282.6 MB, free: 6.793 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.0002319/0.02983, allocations: 196.5 kB / 282.8 MB, free: 6.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.825e-05/0.02989, allocations: 27.84 kB / 282.8 MB, free: 6.562 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.927e-05/0.02995, allocations: 29.72 kB / 282.8 MB, free: 6.527 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.02995, allocations: 0 / 282.8 MB, free: 6.527 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.02996, allocations: 7.922 kB / 282.8 MB, free: 6.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.02997, allocations: 0 / 282.8 MB, free: 6.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003894/0.03035, allocations: 300.4 kB / 283.1 MB, free: 6.191 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.03036, allocations: 0 / 283.1 MB, free: 6.191 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.03051, allocations: 23.98 kB / 283.2 MB, free: 6.168 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004493/0.03096, allocations: 103.6 kB / 283.3 MB, free: 6.062 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.03098, allocations: 4 kB / 283.3 MB, free: 6.059 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002577/0.03356, allocations: 2.123 MB / 285.4 MB, free: 3.816 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.03356, allocations: 4 kB / 285.4 MB, free: 3.812 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.03475, allocations: 434.6 kB / 285.8 MB, free: 3.363 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.529e-05/0.03481, allocations: 27.8 kB / 285.8 MB, free: 3.336 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.03485, allocations: 8.031 kB / 285.9 MB, free: 3.328 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.03506, allocations: 23.97 kB / 285.9 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.345e-05/0.03515, allocations: 23.97 kB / 285.9 MB, free: 3.281 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.03517, allocations: 4 kB / 285.9 MB, free: 3.277 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002883/0.03546, allocations: 257 kB / 286.2 MB, free: 3.023 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03546, allocations: 4 kB / 286.2 MB, free: 3.02 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004414/0.0359, allocations: 91.83 kB / 286.2 MB, free: 2.93 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.0001651/0.03606, allocations: 103.2 kB / 286.3 MB, free: 2.816 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00105/0.03711, allocations: 0.4983 MB / 286.8 MB, free: 2.277 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.03712, allocations: 0 / 286.8 MB, free: 2.277 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005042/0.03762, allocations: 302 kB / 287.1 MB, free: 1.961 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.03799, allocations: 56.45 kB / 287.2 MB, free: 1.906 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.03923, allocations: 0.5447 MB / 287.7 MB, free: 1.336 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/0.03941, allocations: 159.3 kB / 287.9 MB, free: 1.16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001292/0.03954, allocations: 34.22 kB / 287.9 MB, free: 1.129 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.152e-05/0.03961, allocations: 20.5 kB / 288 MB, free: 1.109 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.03961, allocations: 0 / 288 MB, free: 1.109 MB / 266.7 MB Notification: Performance of Templates: time 0.01042/0.05003, allocations: 4.445 MB / 292.4 MB, free: 12.74 MB / 282.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","/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.661835623090155]