Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.0009847/0.0009847, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.001008/0.001008, allocations: 147 kB / 24.89 MB, free: 8.785 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.9436/0.9436, allocations: 173.4 MB / 201.6 MB, free: 8.254 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.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.053e-06/2.053e-06, allocations: 0 / 268.5 MB, free: 9.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.266e-05, allocations: 2.312 kB / 268.5 MB, free: 9.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.003669/0.003692, allocations: 3.632 MB / 272.2 MB, free: 6.121 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002068/0.00576, allocations: 1.434 MB / 273.6 MB, free: 4.684 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002149/0.005975, allocations: 12 kB / 273.6 MB, free: 4.672 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.007048, allocations: 0.7931 MB / 274.4 MB, free: 3.875 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007837/0.007832, allocations: 0.5089 MB / 274.9 MB, free: 3.363 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005209/0.008353, allocations: 419.4 kB / 275.3 MB, free: 2.957 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006872/0.00904, allocations: 477.7 kB / 275.8 MB, free: 2.488 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003988/0.009439, allocations: 376 kB / 276.1 MB, free: 2.113 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000301/0.00974, allocations: 299.2 kB / 276.4 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002063/0.009946, allocations: 207.4 kB / 276.6 MB, free: 1.617 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.374e-05/0.00999, allocations: 40 kB / 276.7 MB, free: 1.578 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003538/0.01034, allocations: 203.7 kB / 276.9 MB, free: 1.379 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.406e-05/0.01041, allocations: 115.6 kB / 277 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.01051, allocations: 155.5 kB / 277.1 MB, free: 1.113 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005128/0.01103, allocations: 0.4981 MB / 277.6 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.01103, allocations: 4 kB / 277.6 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01103, allocations: 4 kB / 277.7 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.01104, allocations: 0 / 277.7 MB, free: 0.6055 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001212/0.01225, allocations: 0.8432 MB / 278.5 MB, free: 15.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.01228, allocations: 12.03 kB / 278.5 MB, free: 15.72 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002056/0.01434, allocations: 0.6758 MB / 279.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.01458, allocations: 173.2 kB / 279.4 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.01461, allocations: 49.69 kB / 279.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.55e-05/0.01466, allocations: 48.38 kB / 279.4 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003731/0.01504, allocations: 385.4 kB / 279.8 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.01505, allocations: 192 / 279.8 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.866e-05/0.01508, allocations: 24.12 kB / 279.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.01509, allocations: 19.94 kB / 279.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002638/0.01536, allocations: 226.3 kB / 280.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.01673, allocations: 1.175 MB / 281.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000687/0.01741, allocations: 0.5144 MB / 281.8 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.262e-05/0.01751, allocations: 90.25 kB / 281.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.142e-05/0.01756, allocations: 20.5 kB / 281.9 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.01758, allocations: 43 kB / 281.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 2.504e-06/0.01759, allocations: 0 / 281.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.0007044/0.01829, allocations: 430.5 kB / 282.3 MB, free: 11.76 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/0.01831, allocations: 55.91 kB / 282.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00035/0.01866, allocations: 168.5 kB / 282.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.01869, allocations: 33.7 kB / 282.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.113e-05/0.01877, allocations: 228.9 kB / 282.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.261e-05/0.01884, allocations: 166.6 kB / 283 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-05/0.01892, allocations: 82.11 kB / 283.1 MB, free: 11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.682e-05/0.019, allocations: 338.8 kB / 283.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.02e-05/0.01906, allocations: 48.98 kB / 283.4 MB, free: 10.61 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.897e-05/0.01916, allocations: 140.3 kB / 283.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.01934, allocations: 228.6 kB / 283.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.01934, allocations: 0 / 283.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0003349/0.01968, allocations: 311 kB / 284.1 MB, free: 9.887 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.01969, allocations: 4 kB / 284.1 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.0197, allocations: 4 kB / 284.1 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002299/0.01993, allocations: 84.98 kB / 284.2 MB, free: 9.793 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.02012, allocations: 91.83 kB / 284.3 MB, free: 9.703 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/0.02112, allocations: 1.603 MB / 285.9 MB, free: 8.016 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.02123, allocations: 47.66 kB / 285.9 MB, free: 7.969 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.02125, allocations: 12 kB / 285.9 MB, free: 7.957 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.963e-05/0.02135, allocations: 137.7 kB / 286.1 MB, free: 7.812 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.201e-05/0.02139, allocations: 31.97 kB / 286.1 MB, free: 7.781 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000369/0.02176, allocations: 318.3 kB / 286.4 MB, free: 7.461 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.02177, allocations: 8 kB / 286.4 MB, free: 7.453 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.02177, allocations: 3.938 kB / 286.4 MB, free: 7.449 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.02177, allocations: 3.984 kB / 286.4 MB, free: 7.445 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006298/0.0224, allocations: 0.6105 MB / 287.1 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-06/0.02241, allocations: 0 / 287.1 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.02258, allocations: 71.91 kB / 287.1 MB, free: 6.738 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001887/0.02276, allocations: 84.78 kB / 287.2 MB, free: 6.652 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.02278, allocations: 8 kB / 287.2 MB, free: 6.645 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009015/0.02368, allocations: 1.602 MB / 288.8 MB, free: 4.957 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.02368, allocations: 0 / 288.8 MB, free: 4.957 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000409/0.02409, allocations: 443.5 kB / 289.2 MB, free: 4.504 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.753e-05/0.02412, allocations: 39.72 kB / 289.3 MB, free: 4.465 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.02414, allocations: 12 kB / 289.3 MB, free: 4.453 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.317e-05/0.02424, allocations: 16 kB / 289.3 MB, free: 4.438 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.913e-05/0.02429, allocations: 36.42 kB / 289.4 MB, free: 4.398 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.02431, allocations: 11.94 kB / 289.4 MB, free: 4.387 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.377e-05/0.02434, allocations: 38.78 kB / 289.4 MB, free: 4.348 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02434, allocations: 0 / 289.4 MB, free: 4.348 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003827/0.02472, allocations: 151.7 kB / 289.5 MB, free: 4.199 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001949/0.02492, allocations: 120.3 kB / 289.7 MB, free: 4.074 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006882/0.02561, allocations: 389.7 kB / 290 MB, free: 3.684 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.02561, allocations: 4 kB / 290 MB, free: 3.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002099/0.02582, allocations: 287.1 kB / 290.3 MB, free: 3.383 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.02601, allocations: 36.36 kB / 290.4 MB, free: 3.348 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.02701, allocations: 0.7082 MB / 291.1 MB, free: 2.609 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.862e-05/0.02708, allocations: 110.3 kB / 291.2 MB, free: 2.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001117/0.02719, allocations: 46.89 kB / 291.2 MB, free: 2.438 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.0273, allocations: 95.36 kB / 291.3 MB, free: 2.344 MB / 266.7 MB Notification: Performance of SimCode: time 9.72e-07/0.02731, allocations: 4 kB / 291.3 MB, free: 2.34 MB / 266.7 MB Notification: Performance of Templates: time 0.006617/0.03392, allocations: 4.562 MB / 295.9 MB, free: 13.81 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.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: 2.4880109229125082]