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.001038/0.001038, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.001157/0.001157, allocations: 142.1 kB / 24.97 MB, free: 8.316 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.9659/0.9659, allocations: 173.3 MB / 201.5 MB, free: 9.32 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 1.583e-06/1.583e-06, allocations: 0 / 268.1 MB, free: 6.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.264e-05, allocations: 6.25 kB / 268.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.003462/0.003484, allocations: 3.647 MB / 271.7 MB, free: 3.051 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.005121, allocations: 1.378 MB / 273.1 MB, free: 1.664 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.005266, allocations: 12 kB / 273.1 MB, free: 1.652 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.006298, allocations: 0.7971 MB / 273.9 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006652/0.006964, allocations: 0.5167 MB / 274.4 MB, free: 340 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004915/0.007455, allocations: 422.3 kB / 274.8 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003597/0.007815, allocations: 473.7 kB / 275.3 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004309/0.008246, allocations: 354 kB / 275.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002917/0.008537, allocations: 299.2 kB / 275.9 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.008738, allocations: 203.5 kB / 276.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.744e-05/0.008785, allocations: 40 kB / 276.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002486/0.009034, allocations: 191.7 kB / 276.4 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.561e-05/0.009099, allocations: 115.6 kB / 276.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.00921, allocations: 155.6 kB / 276.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004864/0.009696, allocations: 0.4982 MB / 277.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.009698, allocations: 0 / 277.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.009699, allocations: 3.938 kB / 277.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.009705, allocations: 4 kB / 277.1 MB, free: 13.61 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001393/0.0111, allocations: 0.9368 MB / 278.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.01114, allocations: 8.031 kB / 278.1 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002154/0.01329, allocations: 0.617 MB / 278.7 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.01359, allocations: 244 kB / 278.9 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/0.01362, allocations: 41.69 kB / 279 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.655e-05/0.01369, allocations: 60.33 kB / 279 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005378/0.01423, allocations: 421.4 kB / 279.4 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.01424, allocations: 192 / 279.4 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.735e-05/0.01428, allocations: 28.12 kB / 279.5 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.01429, allocations: 12 kB / 279.5 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000492/0.01479, allocations: 339.5 kB / 279.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001682/0.01647, allocations: 1.496 MB / 281.3 MB, free: 9.281 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009005/0.01737, allocations: 0.5962 MB / 281.9 MB, free: 8.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.01754, allocations: 128 kB / 282 MB, free: 8.547 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.542e-05/0.01758, allocations: 12.5 kB / 282 MB, free: 8.535 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.01761, allocations: 45.88 kB / 282.1 MB, free: 8.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 2.043e-06/0.01761, allocations: 4 kB / 282.1 MB, free: 8.477 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.00102/0.01863, allocations: 0.5432 MB / 282.6 MB, free: 7.926 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.01866, allocations: 55.91 kB / 282.7 MB, free: 7.859 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.01879, allocations: 229.8 kB / 282.9 MB, free: 7.617 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.01882, allocations: 33.7 kB / 282.9 MB, free: 7.578 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.01892, allocations: 275.7 kB / 283.2 MB, free: 7.301 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.062e-05/0.01901, allocations: 170.5 kB / 283.4 MB, free: 7.133 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.086e-05/0.0191, allocations: 87.84 kB / 283.5 MB, free: 7.039 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.01923, allocations: 0.5079 MB / 284 MB, free: 6.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.01936, allocations: 84.94 kB / 284.1 MB, free: 6.438 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.01954, allocations: 186.9 kB / 284.2 MB, free: 6.219 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003246/0.01987, allocations: 311.4 kB / 284.5 MB, free: 5.883 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.01987, allocations: 0 / 284.5 MB, free: 5.883 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005416/0.02041, allocations: 432.9 kB / 285 MB, free: 5.449 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.02043, allocations: 8 kB / 285 MB, free: 5.441 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.02044, allocations: 4 kB / 285 MB, free: 5.438 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002965/0.02073, allocations: 91.62 kB / 285.1 MB, free: 5.344 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/0.02093, allocations: 91.83 kB / 285.2 MB, free: 5.254 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001392/0.02232, allocations: 2.321 MB / 287.5 MB, free: 2.812 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.02244, allocations: 47.7 kB / 287.5 MB, free: 2.766 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.02246, allocations: 20 kB / 287.5 MB, free: 2.746 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 0.000119/0.02258, allocations: 172.5 kB / 287.7 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.136e-05/0.02264, allocations: 43.8 kB / 287.8 MB, free: 2.523 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005746/0.02321, allocations: 436 kB / 288.2 MB, free: 2.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.02321, allocations: 4 kB / 288.2 MB, free: 2.086 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.02322, allocations: 4 kB / 288.2 MB, free: 2.082 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.02322, allocations: 3.984 kB / 288.2 MB, free: 2.078 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008999/0.02412, allocations: 0.8923 MB / 289.1 MB, free: 1.141 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.02413, allocations: 0 / 289.1 MB, free: 1.141 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.0243, allocations: 71.91 kB / 289.2 MB, free: 1.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002183/0.02452, allocations: 103.7 kB / 289.3 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.02453, allocations: 8 kB / 289.3 MB, free: 0.957 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1/0.1246, allocations: 2.315 MB / 291.6 MB, free: 30.02 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1246, allocations: 2.516 kB / 291.6 MB, free: 30.02 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008197/0.1254, allocations: 0.6181 MB / 292.2 MB, free: 29.82 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.068e-05/0.1254, allocations: 31.28 kB / 292.2 MB, free: 29.82 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.1255, allocations: 10.42 kB / 292.2 MB, free: 29.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.1256, allocations: 18.34 kB / 292.3 MB, free: 29.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.321e-05/0.1257, allocations: 42.16 kB / 292.3 MB, free: 29.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.1257, allocations: 13.12 kB / 292.3 MB, free: 29.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.446e-05/0.1258, allocations: 158.7 kB / 292.5 MB, free: 29.71 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1258, allocations: 11.55 kB / 292.5 MB, free: 29.71 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004715/0.1262, allocations: 152.9 kB / 292.6 MB, free: 29.71 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.0002194/0.1265, allocations: 132 kB / 292.8 MB, free: 29.62 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006865/0.1271, allocations: 0.507 MB / 293.3 MB, free: 29.42 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1271, allocations: 0 / 293.3 MB, free: 29.42 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002944/0.1274, allocations: 380 kB / 293.6 MB, free: 29.23 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.1277, allocations: 36.09 kB / 293.7 MB, free: 29.23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.1288, allocations: 0.7323 MB / 294.4 MB, free: 28.89 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.278e-05/0.1289, allocations: 110 kB / 294.5 MB, free: 28.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001229/0.129, allocations: 41 kB / 294.6 MB, free: 28.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.98e-05/0.1291, allocations: 31.38 kB / 294.6 MB, free: 28.81 MB / 266.7 MB Notification: Performance of SimCode: time 9.81e-07/0.1291, allocations: 0 / 294.6 MB, free: 28.81 MB / 266.7 MB Notification: Performance of Templates: time 0.007371/0.1365, allocations: 4.263 MB / 298.8 MB, free: 28.38 MB / 266.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 -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.744807036127895]