Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.001999/0.001999, allocations: 85.28 kB / 20.68 MB, free: 1.035 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.00151/0.00151, allocations: 164.9 kB / 23.95 MB, free: 4.168 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.438/1.438, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.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.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.586e-05/1.696e-05, allocations: 7.906 kB / 325.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005027/0.005044, allocations: 3.405 MB / 328.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003065/0.008109, allocations: 1.407 MB / 329.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000492/0.008601, allocations: 8.781 kB / 329.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002467/0.01107, allocations: 0.7391 MB / 330.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001292/0.01236, allocations: 382.5 kB / 331 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.01359, allocations: 0.5256 MB / 331.5 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007537/0.01435, allocations: 481.3 kB / 332 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007171/0.01506, allocations: 342.4 kB / 332.3 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007518/0.01581, allocations: 305.8 kB / 332.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004871/0.0163, allocations: 207.6 kB / 332.8 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001341/0.01644, allocations: 41.56 kB / 332.9 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006463/0.01708, allocations: 198.2 kB / 333.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.01722, allocations: 109.9 kB / 333.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000302/0.01752, allocations: 158 kB / 333.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.01876, allocations: 0.7091 MB / 334 MB, free: 10.76 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.01876, allocations: 0 / 334 MB, free: 10.76 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.01876, allocations: 0 / 334 MB, free: 10.76 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.155e-05/0.01878, allocations: 0 / 334 MB, free: 10.76 MB / 302.1 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.002424/0.02121, allocations: 0.8377 MB / 334.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.02124, allocations: 14.16 kB / 334.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003716/0.02496, allocations: 470.7 kB / 335.3 MB, free: 9.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004921/0.02545, allocations: 242.6 kB / 335.6 MB, free: 9.695 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.993e-05/0.0255, allocations: 42.25 kB / 335.6 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.852e-05/0.0256, allocations: 54.53 kB / 335.7 MB, free: 9.652 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.0267, allocations: 0.5401 MB / 336.2 MB, free: 9.316 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.02672, allocations: 1.281 kB / 336.2 MB, free: 9.316 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.084e-05/0.02678, allocations: 28.69 kB / 336.2 MB, free: 9.293 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/0.0268, allocations: 12.75 kB / 336.3 MB, free: 9.293 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.02792, allocations: 0.5676 MB / 336.8 MB, free: 9.023 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002992/0.03091, allocations: 1.503 MB / 338.3 MB, free: 7.766 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00172/0.03263, allocations: 0.5675 MB / 338.9 MB, free: 7.195 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003875/0.03302, allocations: 186.2 kB / 339.1 MB, free: 7.012 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.437e-05/0.0331, allocations: 24.48 kB / 339.1 MB, free: 6.988 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.03314, allocations: 35.06 kB / 339.1 MB, free: 6.945 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.014e-06/0.03314, allocations: 0 / 339.1 MB, free: 6.945 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.002166/0.03531, allocations: 0.7238 MB / 339.9 MB, free: 6.211 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.642e-05/0.03539, allocations: 55.91 kB / 339.9 MB, free: 6.145 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.03558, allocations: 176.2 kB / 340.1 MB, free: 5.965 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.789e-05/0.03563, allocations: 33.7 kB / 340.1 MB, free: 5.926 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.03579, allocations: 228.9 kB / 340.3 MB, free: 5.699 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/0.03593, allocations: 158.6 kB / 340.5 MB, free: 5.543 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/0.03608, allocations: 90.14 kB / 340.6 MB, free: 5.449 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.03625, allocations: 334.8 kB / 340.9 MB, free: 5.113 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/0.03659, allocations: 156.9 kB / 341.1 MB, free: 4.957 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004121/0.037, allocations: 220.3 kB / 341.3 MB, free: 4.719 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000763/0.03776, allocations: 408.7 kB / 341.7 MB, free: 4.297 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.03777, allocations: 0 / 341.7 MB, free: 4.297 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001236/0.039, allocations: 0.5333 MB / 342.2 MB, free: 3.754 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.03903, allocations: 8 kB / 342.2 MB, free: 3.746 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.669e-06/0.03904, allocations: 0 / 342.2 MB, free: 3.746 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004152/0.03945, allocations: 92.8 kB / 342.3 MB, free: 3.652 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004253/0.03988, allocations: 87.83 kB / 342.4 MB, free: 3.566 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002588/0.04247, allocations: 1.899 MB / 344.3 MB, free: 1.566 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003225/0.04279, allocations: 43.72 kB / 344.3 MB, free: 1.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-05/0.04283, allocations: 16.19 kB / 344.4 MB, free: 1.508 MB / 302.1 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.0002609/0.0431, allocations: 173.7 kB / 344.5 MB, free: 1.328 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-05/0.04318, allocations: 31.73 kB / 344.6 MB, free: 1.297 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.04452, allocations: 0.5403 MB / 345.1 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.04452, allocations: 4 kB / 345.1 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.04453, allocations: 4 kB / 345.1 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.04454, allocations: 3.984 kB / 345.1 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001947/0.04649, allocations: 0.9722 MB / 346.1 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.04649, allocations: 0 / 346.1 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003916/0.04688, allocations: 75.91 kB / 346.2 MB, free: 15.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003059/0.04719, allocations: 88.8 kB / 346.2 MB, free: 15.55 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.41e-05/0.04722, allocations: 15.94 kB / 346.3 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002229/0.04945, allocations: 1.896 MB / 348.2 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.04945, allocations: 4.062 kB / 348.2 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/0.05098, allocations: 0.7952 MB / 349 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.037e-05/0.05104, allocations: 31.77 kB / 349 MB, free: 12.69 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.741e-05/0.05108, allocations: 12 kB / 349 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.05134, allocations: 20.05 kB / 349 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.05144, allocations: 36.42 kB / 349.1 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/0.05147, allocations: 12 kB / 349.1 MB, free: 12.61 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001232/0.05159, allocations: 132.1 kB / 349.2 MB, free: 12.48 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.05159, allocations: 192 / 349.2 MB, free: 12.48 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000658/0.05225, allocations: 151.6 kB / 349.3 MB, free: 12.34 MB / 318.1 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.0002811/0.05253, allocations: 151 kB / 349.5 MB, free: 12.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001165/0.0537, allocations: 0.5553 MB / 350 MB, free: 11.61 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.0537, allocations: 0 / 350 MB, free: 11.61 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006313/0.05433, allocations: 353.4 kB / 350.4 MB, free: 11.25 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.05469, allocations: 28.44 kB / 350.4 MB, free: 11.22 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.05619, allocations: 0.7539 MB / 351.2 MB, free: 10.44 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.05642, allocations: 204.8 kB / 351.4 MB, free: 10.22 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000171/0.05659, allocations: 46.95 kB / 351.4 MB, free: 10.18 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.0567, allocations: 40.42 kB / 351.5 MB, free: 10.14 MB / 318.1 MB Notification: Performance of SimCode: time 4.11e-07/0.0567, allocations: 0 / 351.5 MB, free: 10.14 MB / 318.1 MB Notification: Performance of Templates: time 0.0105/0.06719, allocations: 4.295 MB / 355.8 MB, free: 5.883 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.344450827687979]