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.001613/0.001613, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 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.001788/0.001788, allocations: 213.1 kB / 24.48 MB, free: 3.957 MB / 14.72 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.446/1.446, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 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 0.00151/0.00151, allocations: 51.92 kB / 379 MB, free: 2.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2528, allocations: 53.37 MB / 432.4 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004407/0.2572, allocations: 2.887 MB / 435.3 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.2587, allocations: 0.7599 MB / 436 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.2588, allocations: 11.94 kB / 436 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00017/0.259, allocations: 51.5 kB / 436.1 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002355/0.2592, allocations: 119 kB / 436.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.2596, allocations: 131.8 kB / 436.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005202/0.2601, allocations: 458.2 kB / 436.8 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002157/0.2603, allocations: 98.42 kB / 436.9 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003348/0.2606, allocations: 191.3 kB / 437.1 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002565/0.2609, allocations: 183.2 kB / 437.2 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.174e-05/0.2609, allocations: 44 kB / 437.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.52e-05/0.261, allocations: 48 kB / 437.3 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.663e-05/0.2611, allocations: 91.67 kB / 437.4 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001769/0.2613, allocations: 163.2 kB / 437.6 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005541/0.2618, allocations: 0.494 MB / 438.1 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2618, allocations: 0 / 438.1 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2618, allocations: 0 / 438.1 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.2619, allocations: 4 kB / 438.1 MB, free: 0.9648 MB / 334.1 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.001399/0.2633, allocations: 0.6355 MB / 438.7 MB, free: 296 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.2633, allocations: 12.03 kB / 438.7 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.868e-05/0.2634, allocations: 48.62 kB / 438.8 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004798/0.2639, allocations: 249 kB / 439 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.2639, allocations: 25.03 kB / 439 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.784e-05/0.2639, allocations: 24.38 kB / 439.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008392/0.2648, allocations: 408.4 kB / 439.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.2648, allocations: 0 / 439.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.722e-05/0.2648, allocations: 12 kB / 439.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.2648, allocations: 8 kB / 439.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008441/0.2657, allocations: 302.4 kB / 439.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00223/0.2679, allocations: 1.101 MB / 440.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007076/0.2686, allocations: 222.3 kB / 441.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003549/0.269, allocations: 112.8 kB / 441.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.269, allocations: 256 / 441.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005289/0.2695, allocations: 233.3 kB / 441.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.513e-06/0.2695, allocations: 4 kB / 441.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002441/0.272, allocations: 0.6188 MB / 442 MB, free: 12.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.528e-05/0.2721, allocations: 102.8 kB / 442.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003519/0.2724, allocations: 285.8 kB / 442.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.2724, allocations: 29.7 kB / 442.5 MB, free: 12.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.2726, allocations: 212.3 kB / 442.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.896e-05/0.2727, allocations: 51.59 kB / 442.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.2728, allocations: 61.64 kB / 442.8 MB, free: 12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.273, allocations: 334.8 kB / 443.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003897/0.2733, allocations: 141.6 kB / 443.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004943/0.2738, allocations: 297.7 kB / 443.5 MB, free: 11.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007771/0.2746, allocations: 330 kB / 443.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.2746, allocations: 0 / 443.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001336/0.276, allocations: 0.5014 MB / 444.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.717e-05/0.276, allocations: 41.69 kB / 444.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.276, allocations: 12 kB / 444.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000396/0.2764, allocations: 76.81 kB / 444.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.2767, allocations: 55.89 kB / 444.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002871/0.2795, allocations: 1.868 MB / 446.4 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003733/0.2799, allocations: 55.69 kB / 446.5 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/0.2799, allocations: 20.05 kB / 446.5 MB, free: 8.047 MB / 350.1 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.0001954/0.2801, allocations: 145.8 kB / 446.6 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.688e-05/0.2802, allocations: 27.86 kB / 446.6 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.775e-05/0.2802, allocations: 29.77 kB / 446.7 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.2803, allocations: 0 / 446.7 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.2803, allocations: 3.938 kB / 446.7 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.2803, allocations: 3.938 kB / 446.7 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002749/0.2805, allocations: 229.1 kB / 446.9 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.2805, allocations: 3.938 kB / 446.9 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/0.2807, allocations: 31.97 kB / 446.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003042/0.281, allocations: 76.81 kB / 447 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.2811, allocations: 7.984 kB / 447 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002524/0.2836, allocations: 1.678 MB / 448.7 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2836, allocations: 0 / 448.7 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/0.2851, allocations: 0.4969 MB / 449.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.637e-05/0.2851, allocations: 31.73 kB / 449.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.214e-05/0.2852, allocations: 4 kB / 449.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002628/0.2855, allocations: 31.97 kB / 449.3 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.171e-05/0.2855, allocations: 19.95 kB / 449.3 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.2855, allocations: 4.062 kB / 449.3 MB, free: 5.066 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002461/0.2858, allocations: 209.2 kB / 449.5 MB, free: 4.859 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2858, allocations: 0 / 449.5 MB, free: 4.859 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004191/0.2862, allocations: 83.83 kB / 449.6 MB, free: 4.777 MB / 350.1 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.0001411/0.2864, allocations: 103.2 kB / 449.7 MB, free: 4.664 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.2874, allocations: 474.1 kB / 450.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2875, allocations: 0 / 450.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005072/0.288, allocations: 239.2 kB / 450.4 MB, free: 3.926 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.2883, allocations: 44.59 kB / 450.4 MB, free: 3.883 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.2896, allocations: 0.6208 MB / 451 MB, free: 3.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/0.2898, allocations: 155.5 kB / 451.2 MB, free: 3.059 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.97e-05/0.2899, allocations: 23.42 kB / 451.2 MB, free: 3.035 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2899, allocations: 0 / 451.2 MB, free: 3.035 MB / 350.1 MB Notification: Performance of Templates: time 0.008135/0.298, allocations: 5.241 MB / 456.4 MB, free: 13.8 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins1/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: 7.542278775013983]