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.002365/0.002365, allocations: 91.61 kB / 20.96 MB, free: 3.461 MB / 18.57 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.002696/0.002696, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 18.57 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.616/1.616, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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.333e-06/1.333e-06, allocations: 0 / 272.4 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.322e-05/2.456e-05, allocations: 2.312 kB / 272.4 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.005244/0.005269, allocations: 3.06 MB / 275.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.007165, allocations: 0.7792 MB / 276.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002957/0.007461, allocations: 11.94 kB / 276.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002312/0.007692, allocations: 55.44 kB / 276.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000328/0.00802, allocations: 127 kB / 276.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003883/0.008408, allocations: 123.7 kB / 276.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006852/0.009093, allocations: 474 kB / 277 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002718/0.009365, allocations: 95.47 kB / 277.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000631/0.009996, allocations: 275.3 kB / 277.3 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003252/0.01032, allocations: 147.6 kB / 277.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.01043, allocations: 44 kB / 277.5 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.01053, allocations: 44 kB / 277.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.01064, allocations: 87.67 kB / 277.6 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002237/0.01086, allocations: 143.6 kB / 277.8 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006948/0.01155, allocations: 0.4946 MB / 278.3 MB, free: 11.83 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.01156, allocations: 0 / 278.3 MB, free: 11.83 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01156, allocations: 4 kB / 278.3 MB, free: 11.83 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.01157, allocations: 0 / 278.3 MB, free: 11.83 MB / 266.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.001579/0.01315, allocations: 0.7467 MB / 279 MB, free: 11.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.01319, allocations: 8.031 kB / 279 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.01335, allocations: 64.7 kB / 279.1 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004797/0.01383, allocations: 267.5 kB / 279.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/0.01386, allocations: 21.03 kB / 279.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.971e-05/0.01392, allocations: 24.38 kB / 279.4 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008504/0.01477, allocations: 402.6 kB / 279.8 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.01479, allocations: 4.125 kB / 279.8 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.211e-05/0.01483, allocations: 15.94 kB / 279.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.01484, allocations: 7.984 kB / 279.8 MB, free: 10.19 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007317/0.01557, allocations: 258.5 kB / 280.1 MB, free: 9.938 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002437/0.01801, allocations: 1.286 MB / 281.4 MB, free: 8.578 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005597/0.01857, allocations: 190.9 kB / 281.6 MB, free: 8.379 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002845/0.01885, allocations: 99.64 kB / 281.6 MB, free: 8.277 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.468e-05/0.01889, allocations: 3.984 kB / 281.7 MB, free: 8.273 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004988/0.01939, allocations: 239.4 kB / 281.9 MB, free: 8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.412e-06/0.01939, allocations: 0 / 281.9 MB, free: 8 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.001923/0.02131, allocations: 480.7 kB / 282.4 MB, free: 7.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.372e-05/0.02141, allocations: 114.8 kB / 282.5 MB, free: 7.383 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004533/0.02186, allocations: 380.2 kB / 282.8 MB, free: 6.996 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.02189, allocations: 33.64 kB / 282.9 MB, free: 6.957 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002469/0.02214, allocations: 275 kB / 283.1 MB, free: 6.684 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.318e-05/0.02221, allocations: 67.53 kB / 283.2 MB, free: 6.617 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.02234, allocations: 71.31 kB / 283.3 MB, free: 6.539 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002995/0.02264, allocations: 0.5196 MB / 283.8 MB, free: 6.008 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003237/0.02297, allocations: 121.6 kB / 283.9 MB, free: 5.883 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004977/0.02347, allocations: 316.7 kB / 284.2 MB, free: 5.496 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006887/0.02415, allocations: 337.2 kB / 284.6 MB, free: 5.113 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.02416, allocations: 4 kB / 284.6 MB, free: 5.109 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001168/0.02533, allocations: 468.3 kB / 285 MB, free: 4.629 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.358e-05/0.02537, allocations: 29.7 kB / 285 MB, free: 4.594 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.02538, allocations: 4 kB / 285 MB, free: 4.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005422/0.02592, allocations: 115.7 kB / 285.2 MB, free: 4.473 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002559/0.02618, allocations: 59.84 kB / 285.2 MB, free: 4.414 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003046/0.02922, allocations: 2.371 MB / 287.6 MB, free: 1.914 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003073/0.02953, allocations: 43.77 kB / 287.6 MB, free: 1.871 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/0.02956, allocations: 16 kB / 287.6 MB, free: 1.855 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.0002266/0.02979, allocations: 200.4 kB / 287.8 MB, free: 1.648 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.025e-05/0.02985, allocations: 27.86 kB / 287.9 MB, free: 1.621 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.096e-05/0.02992, allocations: 33.77 kB / 287.9 MB, free: 1.586 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.02992, allocations: 4.031 kB / 287.9 MB, free: 1.582 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.02992, allocations: 0 / 287.9 MB, free: 1.582 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.02992, allocations: 0 / 287.9 MB, free: 1.582 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004022/0.03033, allocations: 296.3 kB / 288.2 MB, free: 1.258 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.03033, allocations: 3.984 kB / 288.2 MB, free: 1.254 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.03049, allocations: 23.98 kB / 288.2 MB, free: 1.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004649/0.03096, allocations: 111.7 kB / 288.3 MB, free: 1.117 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.03098, allocations: 7.984 kB / 288.3 MB, free: 1.109 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002624/0.0336, allocations: 2.107 MB / 290.5 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.03361, allocations: 3.938 kB / 290.5 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.03481, allocations: 431.2 kB / 290.9 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.025e-05/0.03488, allocations: 31.73 kB / 290.9 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.408e-05/0.03492, allocations: 8 kB / 290.9 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.03514, allocations: 19.98 kB / 290.9 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.433e-05/0.03522, allocations: 23.95 kB / 291 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.03524, allocations: 4.188 kB / 291 MB, free: 14.35 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002866/0.03553, allocations: 257.1 kB / 291.2 MB, free: 14.09 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03553, allocations: 0 / 291.2 MB, free: 14.09 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004335/0.03596, allocations: 91.92 kB / 291.3 MB, free: 14 MB / 282.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.0001439/0.0361, allocations: 95.25 kB / 291.4 MB, free: 13.9 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001073/0.03718, allocations: 0.5019 MB / 291.9 MB, free: 13.36 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.03718, allocations: 8.062 kB / 291.9 MB, free: 13.36 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005227/0.0377, allocations: 297.3 kB / 292.2 MB, free: 13.04 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.03808, allocations: 60.33 kB / 292.3 MB, free: 12.98 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.03937, allocations: 0.5415 MB / 292.8 MB, free: 12.41 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/0.03955, allocations: 163.4 kB / 293 MB, free: 12.23 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001164/0.03966, allocations: 26.27 kB / 293 MB, free: 12.21 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.302e-05/0.03974, allocations: 32.5 kB / 293 MB, free: 12.18 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.03974, allocations: 0 / 293 MB, free: 12.18 MB / 282.7 MB Notification: Performance of Templates: time 0.01047/0.05021, allocations: 4.476 MB / 297.5 MB, free: 7.766 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 240] 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.793539248988964]