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.001057/0.001057, allocations: 75.91 kB / 21.18 MB, free: 3.395 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.001406/0.001406, allocations: 145.5 kB / 24.54 MB, free: 36 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 0.9663/0.9663, allocations: 173.4 MB / 201.1 MB, free: 9.355 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.654e-06/1.654e-06, allocations: 0 / 268 MB, free: 6.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.736e-05/2.902e-05, allocations: 6.25 kB / 268 MB, free: 6.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004049/0.004078, allocations: 3.079 MB / 271.1 MB, free: 3.312 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.005233, allocations: 0.752 MB / 271.9 MB, free: 2.559 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.005392, allocations: 15.94 kB / 271.9 MB, free: 2.543 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.00556, allocations: 55.44 kB / 271.9 MB, free: 2.488 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001803/0.00574, allocations: 123 kB / 272.1 MB, free: 2.367 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002943/0.006034, allocations: 127.8 kB / 272.2 MB, free: 2.242 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003713/0.006406, allocations: 470 kB / 272.6 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/0.006601, allocations: 95.42 kB / 272.7 MB, free: 1.688 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003106/0.006912, allocations: 267.3 kB / 273 MB, free: 1.426 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.007109, allocations: 147.6 kB / 273.1 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.298e-05/0.007172, allocations: 44 kB / 273.2 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.836e-05/0.00722, allocations: 44 kB / 273.2 MB, free: 1.195 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.092e-05/0.007291, allocations: 95.66 kB / 273.3 MB, free: 1.102 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.007418, allocations: 135.6 kB / 273.5 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003629/0.007781, allocations: 287 kB / 273.7 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.007787, allocations: 0 / 273.7 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.007788, allocations: 0 / 273.7 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.007795, allocations: 0 / 273.7 MB, free: 0.6875 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.001035/0.00883, allocations: 0.7082 MB / 274.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.008875, allocations: 12.03 kB / 274.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.775e-05/0.008973, allocations: 56.7 kB / 274.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.009304, allocations: 263.4 kB / 274.8 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.009325, allocations: 21.03 kB / 274.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.729e-05/0.009372, allocations: 28.38 kB / 274.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004369/0.009809, allocations: 319.4 kB / 275.1 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.009819, allocations: 192 / 275.1 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.844e-05/0.009847, allocations: 23.86 kB / 275.1 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.00986, allocations: 8 kB / 275.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002145/0.01007, allocations: 115.8 kB / 275.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.01137, allocations: 1.139 MB / 276.4 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.01155, allocations: 115 kB / 276.5 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.923e-05/0.01162, allocations: 43.67 kB / 276.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.01164, allocations: 4 kB / 276.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000248/0.01189, allocations: 183.5 kB / 276.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.01189, allocations: 0 / 276.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007717/0.01266, allocations: 324.8 kB / 277.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.01272, allocations: 110.8 kB / 277.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.01293, allocations: 320.2 kB / 277.5 MB, free: 12.65 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.01295, allocations: 25.7 kB / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.01307, allocations: 259 kB / 277.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.01311, allocations: 59.52 kB / 277.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.828e-05/0.01318, allocations: 59.36 kB / 277.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.0133, allocations: 0.5001 MB / 278.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.531e-05/0.01338, allocations: 65.67 kB / 278.4 MB, free: 11.65 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.01353, allocations: 260.6 kB / 278.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.01372, allocations: 221.7 kB / 278.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.01372, allocations: 4 kB / 278.9 MB, free: 11.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004129/0.01413, allocations: 335.5 kB / 279.2 MB, free: 10.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.662e-05/0.01417, allocations: 45.72 kB / 279.3 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.01418, allocations: 4 kB / 279.3 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003/0.01448, allocations: 67.64 kB / 279.4 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.01462, allocations: 63.91 kB / 279.4 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/0.01592, allocations: 2.137 MB / 281.6 MB, free: 8.246 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.01608, allocations: 47.83 kB / 281.6 MB, free: 8.199 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.0161, allocations: 16 kB / 281.6 MB, free: 8.184 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.0001231/0.01623, allocations: 176.5 kB / 281.8 MB, free: 8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.311e-05/0.01626, allocations: 27.81 kB / 281.8 MB, free: 7.973 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.412e-05/0.01629, allocations: 29.77 kB / 281.8 MB, free: 7.941 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.01629, allocations: 0 / 281.8 MB, free: 7.941 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.0163, allocations: 0 / 281.8 MB, free: 7.941 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.0163, allocations: 7.938 kB / 281.9 MB, free: 7.934 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005178/0.01682, allocations: 240.4 kB / 282.1 MB, free: 7.664 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.01682, allocations: 0 / 282.1 MB, free: 7.664 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.002e-05/0.01691, allocations: 23.98 kB / 282.1 MB, free: 7.641 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002028/0.01712, allocations: 83.69 kB / 282.2 MB, free: 7.555 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.01714, allocations: 8 kB / 282.2 MB, free: 7.547 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/0.01823, allocations: 1.877 MB / 284.1 MB, free: 5.547 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.01824, allocations: 3.938 kB / 284.1 MB, free: 5.543 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003721/0.01861, allocations: 271 kB / 284.4 MB, free: 5.254 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.017e-05/0.01864, allocations: 23.78 kB / 284.4 MB, free: 5.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.01866, allocations: 8 kB / 284.4 MB, free: 5.223 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.557e-05/0.01876, allocations: 19.98 kB / 284.4 MB, free: 5.203 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.032e-05/0.01883, allocations: 28.12 kB / 284.4 MB, free: 5.176 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.01884, allocations: 8 kB / 284.4 MB, free: 5.168 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001278/0.01897, allocations: 217.1 kB / 284.6 MB, free: 4.953 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01897, allocations: 0 / 284.6 MB, free: 4.953 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002855/0.01925, allocations: 91.84 kB / 284.7 MB, free: 4.863 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.0001287/0.01938, allocations: 99.25 kB / 284.8 MB, free: 4.754 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004501/0.01983, allocations: 394.9 kB / 285.2 MB, free: 4.328 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01983, allocations: 0 / 285.2 MB, free: 4.328 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.02001, allocations: 241.4 kB / 285.5 MB, free: 4.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.02026, allocations: 56.34 kB / 285.5 MB, free: 4.016 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009536/0.02121, allocations: 0.5103 MB / 286 MB, free: 3.477 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.479e-05/0.02127, allocations: 92.23 kB / 286.1 MB, free: 3.367 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.27e-05/0.02134, allocations: 30.27 kB / 286.1 MB, free: 3.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.429e-05/0.02139, allocations: 24.5 kB / 286.2 MB, free: 3.316 MB / 266.7 MB Notification: Performance of SimCode: time 1.012e-06/0.0214, allocations: 0 / 286.2 MB, free: 3.316 MB / 266.7 MB Notification: Performance of Templates: time 0.007595/0.02899, allocations: 4.449 MB / 290.6 MB, free: 14.94 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2022939091548324]