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.001295/0.001295, allocations: 80.67 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.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.001345/0.001345, allocations: 154.9 kB / 23.94 MB, free: 4.176 MB / 14.72 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 1.389/1.389, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.1 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.202e-06/1.202e-06, allocations: 0 / 318.9 MB, free: 3.586 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.587e-05/1.707e-05, allocations: 6.281 kB / 318.9 MB, free: 3.578 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.003726/0.003743, allocations: 3.378 MB / 322.3 MB, free: 1.312 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.005704, allocations: 1.336 MB / 323.6 MB, free: 432 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001844/0.005888, allocations: 8.844 kB / 323.6 MB, free: 432 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001765/0.007654, allocations: 0.7404 MB / 324.4 MB, free: 4 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001336/0.00899, allocations: 0.524 MB / 324.9 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009328/0.009922, allocations: 402.7 kB / 325.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006031/0.01053, allocations: 487.7 kB / 325.8 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00063/0.01116, allocations: 342.6 kB / 326.1 MB, free: 15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004449/0.0116, allocations: 298.5 kB / 326.4 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003246/0.01193, allocations: 201.6 kB / 326.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.533e-05/0.01199, allocations: 45.5 kB / 326.6 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004079/0.0124, allocations: 203.3 kB / 326.8 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.01251, allocations: 107.4 kB / 326.9 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001947/0.0127, allocations: 162.8 kB / 327.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009556/0.01366, allocations: 0.7032 MB / 327.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.01366, allocations: 0 / 327.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.01366, allocations: 0 / 327.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.01367, allocations: 0 / 327.8 MB, free: 14.29 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.002238/0.01591, allocations: 0.8264 MB / 328.6 MB, free: 13.78 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.01595, allocations: 11.39 kB / 328.6 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003724/0.01967, allocations: 494.4 kB / 329.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000478/0.02015, allocations: 252.6 kB / 329.4 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.42e-05/0.02019, allocations: 40.09 kB / 329.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.215e-05/0.02028, allocations: 59.55 kB / 329.5 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.02132, allocations: 0.5316 MB / 330 MB, free: 13.19 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.02134, allocations: 1.281 kB / 330 MB, free: 13.19 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.809e-05/0.02141, allocations: 29 kB / 330 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.02143, allocations: 12.59 kB / 330 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.02254, allocations: 0.5621 MB / 330.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002781/0.02532, allocations: 1.486 MB / 332.1 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/0.02694, allocations: 0.5683 MB / 332.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000354/0.0273, allocations: 192.4 kB / 332.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.256e-05/0.02736, allocations: 14.33 kB / 332.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.0274, allocations: 41.44 kB / 332.9 MB, free: 11.49 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.264e-06/0.0274, allocations: 4 kB / 332.9 MB, free: 11.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.002028/0.02943, allocations: 0.7051 MB / 333.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.02947, allocations: 57.22 kB / 333.7 MB, free: 11.06 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.02965, allocations: 182.3 kB / 333.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.262e-05/0.0297, allocations: 30.98 kB / 333.9 MB, free: 10.88 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.02985, allocations: 229.2 kB / 334.1 MB, free: 10.67 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.03001, allocations: 169.5 kB / 334.3 MB, free: 10.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.03015, allocations: 82.92 kB / 334.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.03031, allocations: 336.7 kB / 334.7 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003212/0.03063, allocations: 149.5 kB / 334.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003711/0.031, allocations: 225.7 kB / 335 MB, free: 9.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007281/0.03173, allocations: 400 kB / 335.4 MB, free: 9.668 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.03173, allocations: 0 / 335.4 MB, free: 9.668 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0011/0.03283, allocations: 0.5364 MB / 336 MB, free: 9.379 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.03285, allocations: 5.25 kB / 336 MB, free: 9.379 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.03286, allocations: 10.45 kB / 336 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003558/0.03322, allocations: 86.84 kB / 336.1 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00038/0.0336, allocations: 93.48 kB / 336.2 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002406/0.036, allocations: 1.899 MB / 338.1 MB, free: 7.594 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002736/0.03627, allocations: 40.67 kB / 338.1 MB, free: 7.566 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.54e-05/0.03632, allocations: 21.28 kB / 338.1 MB, free: 7.559 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.0002131/0.03653, allocations: 168.8 kB / 338.3 MB, free: 7.402 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.151e-05/0.0366, allocations: 27.95 kB / 338.3 MB, free: 7.387 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/0.0378, allocations: 0.5376 MB / 338.8 MB, free: 7.074 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.0378, allocations: 5.188 kB / 338.9 MB, free: 7.074 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.03781, allocations: 1.062 kB / 338.9 MB, free: 7.074 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.03782, allocations: 9.484 kB / 338.9 MB, free: 7.066 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/0.03952, allocations: 0.958 MB / 339.8 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.03952, allocations: 0 / 339.8 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003516/0.03987, allocations: 75.89 kB / 339.9 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002954/0.04017, allocations: 96.92 kB / 340 MB, free: 6.203 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.119e-05/0.0402, allocations: 11.98 kB / 340 MB, free: 6.191 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002206/0.04241, allocations: 1.899 MB / 341.9 MB, free: 4.191 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.04241, allocations: 0 / 341.9 MB, free: 4.191 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/0.04397, allocations: 0.7913 MB / 342.7 MB, free: 3.379 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.249e-05/0.04401, allocations: 27.89 kB / 342.7 MB, free: 3.352 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.37e-05/0.04406, allocations: 16 kB / 342.7 MB, free: 3.336 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/0.0443, allocations: 19.98 kB / 342.8 MB, free: 3.316 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.0444, allocations: 36.42 kB / 342.8 MB, free: 3.281 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.099e-05/0.04443, allocations: 16 kB / 342.8 MB, free: 3.266 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001194/0.04455, allocations: 119.2 kB / 342.9 MB, free: 3.148 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.04455, allocations: 0 / 342.9 MB, free: 3.148 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006083/0.04516, allocations: 151.6 kB / 343.1 MB, free: 2.996 MB / 302.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.0002629/0.04542, allocations: 139.1 kB / 343.2 MB, free: 2.852 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001098/0.04652, allocations: 0.5398 MB / 343.7 MB, free: 2.297 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.04652, allocations: 0 / 343.7 MB, free: 2.297 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006067/0.04713, allocations: 361.7 kB / 344.1 MB, free: 1.934 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.04746, allocations: 28 kB / 344.1 MB, free: 1.906 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.04883, allocations: 0.7621 MB / 344.9 MB, free: 1.117 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.04904, allocations: 212.5 kB / 345.1 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001888/0.04923, allocations: 46.95 kB / 345.1 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.04933, allocations: 32.48 kB / 345.2 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of SimCode: time 3.5e-07/0.04933, allocations: 0 / 345.2 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of Templates: time 0.00987/0.0592, allocations: 4.178 MB / 349.4 MB, free: 12.67 MB / 318.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.202683597803116]