Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.001758/0.001758, allocations: 88.7 kB / 21.44 MB, free: 272 kB / 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.001832/0.001832, allocations: 164.1 kB / 24.7 MB, free: 3.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.316/1.316, allocations: 158.6 MB / 186.5 MB, free: 6.391 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 3.938 kB / 298.9 MB, free: 8.723 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.865e-05/3.009e-05, allocations: 2.281 kB / 299 MB, free: 8.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.005062/0.005092, allocations: 3.423 MB / 302.4 MB, free: 5.266 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002859/0.007951, allocations: 1.383 MB / 303.8 MB, free: 3.875 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000253/0.008204, allocations: 8 kB / 303.8 MB, free: 3.867 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001995/0.0102, allocations: 0.7386 MB / 304.5 MB, free: 3.125 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00114/0.01134, allocations: 409.8 kB / 304.9 MB, free: 2.723 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.01251, allocations: 0.5137 MB / 305.4 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007323/0.01324, allocations: 0.5015 MB / 305.9 MB, free: 1.703 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007464/0.01399, allocations: 362 kB / 306.3 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005159/0.0145, allocations: 323.1 kB / 306.6 MB, free: 1.031 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003404/0.01484, allocations: 215.4 kB / 306.8 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.443e-05/0.01492, allocations: 43.98 kB / 306.8 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004976/0.01541, allocations: 203.7 kB / 307 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.01553, allocations: 111.5 kB / 307.1 MB, free: 480 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002064/0.01573, allocations: 171.5 kB / 307.3 MB, free: 308 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.01684, allocations: 0.7128 MB / 308 MB, free: 15.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.01684, allocations: 4 kB / 308 MB, free: 15.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.01685, allocations: 4 kB / 308 MB, free: 15.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.01686, allocations: 0 / 308 MB, free: 15.57 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.00251/0.01937, allocations: 0.8562 MB / 308.9 MB, free: 14.69 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.01942, allocations: 11.98 kB / 308.9 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004618/0.02404, allocations: 0.6015 MB / 309.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007511/0.02479, allocations: 257 kB / 309.8 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.355e-05/0.02485, allocations: 45.69 kB / 309.8 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.02497, allocations: 56.38 kB / 309.9 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/0.02625, allocations: 0.5788 MB / 310.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/0.02627, allocations: 192 / 310.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.508e-05/0.02636, allocations: 27.94 kB / 310.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.02638, allocations: 20 kB / 310.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.02772, allocations: 0.6297 MB / 311.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003433/0.03115, allocations: 1.571 MB / 312.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001969/0.03312, allocations: 0.6321 MB / 313.3 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003905/0.03351, allocations: 190.3 kB / 313.5 MB, free: 9.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.73e-05/0.03358, allocations: 16.48 kB / 313.5 MB, free: 9.965 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.03362, allocations: 43.06 kB / 313.6 MB, free: 9.914 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 2.525e-06/0.03362, allocations: 0 / 313.6 MB, free: 9.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=49): time 0.002085/0.0357, allocations: 0.7083 MB / 314.3 MB, free: 9.199 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.03575, allocations: 63.91 kB / 314.3 MB, free: 9.125 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.03597, allocations: 202.7 kB / 314.5 MB, free: 8.918 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/0.03602, allocations: 37.7 kB / 314.6 MB, free: 8.875 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.0362, allocations: 244.8 kB / 314.8 MB, free: 8.633 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.03635, allocations: 170.5 kB / 315 MB, free: 8.465 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/0.0365, allocations: 94.33 kB / 315.1 MB, free: 8.363 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.03666, allocations: 334.8 kB / 315.4 MB, free: 8.027 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003414/0.03701, allocations: 161.2 kB / 315.5 MB, free: 7.871 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004943/0.0375, allocations: 275 kB / 315.8 MB, free: 7.559 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008189/0.03832, allocations: 465.7 kB / 316.3 MB, free: 7.059 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.03832, allocations: 0 / 316.3 MB, free: 7.059 MB / 302.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001273/0.0396, allocations: 0.588 MB / 316.9 MB, free: 6.461 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.03962, allocations: 4 kB / 316.9 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.03963, allocations: 4 kB / 316.9 MB, free: 6.453 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003947/0.04002, allocations: 92.73 kB / 317 MB, free: 6.359 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004425/0.04046, allocations: 103.9 kB / 317.1 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/0.04279, allocations: 1.907 MB / 319 MB, free: 4.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003144/0.04311, allocations: 51.62 kB / 319 MB, free: 4.199 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.325e-05/0.04315, allocations: 28.06 kB / 319 MB, free: 4.172 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 57 * 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.0002891/0.04344, allocations: 177.6 kB / 319.2 MB, free: 3.988 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.672e-05/0.04351, allocations: 23.86 kB / 319.2 MB, free: 3.965 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/0.04484, allocations: 0.5564 MB / 319.8 MB, free: 3.402 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.04484, allocations: 4 kB / 319.8 MB, free: 3.398 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.04485, allocations: 4 kB / 319.8 MB, free: 3.395 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.04486, allocations: 0 / 319.8 MB, free: 3.395 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001914/0.04677, allocations: 0.9762 MB / 320.8 MB, free: 2.379 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/0.04678, allocations: 3.938 kB / 320.8 MB, free: 2.375 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003693/0.04715, allocations: 83.83 kB / 320.9 MB, free: 2.293 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003166/0.04746, allocations: 88.94 kB / 321 MB, free: 2.203 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/0.04749, allocations: 4 kB / 321 MB, free: 2.199 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00223/0.04973, allocations: 1.895 MB / 322.9 MB, free: 200 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.04973, allocations: 4.031 kB / 322.9 MB, free: 196 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1382/0.1879, allocations: 0.7943 MB / 323.6 MB, free: 33.58 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.568e-05/0.188, allocations: 37.31 kB / 323.7 MB, free: 33.58 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.385e-05/0.188, allocations: 9.062 kB / 323.7 MB, free: 33.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.1883, allocations: 19.66 kB / 323.7 MB, free: 33.58 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.1884, allocations: 38.95 kB / 323.8 MB, free: 33.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.721e-05/0.1884, allocations: 15.97 kB / 323.8 MB, free: 33.58 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.881e-05/0.1885, allocations: 133.6 kB / 323.9 MB, free: 33.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1885, allocations: 3.469 kB / 323.9 MB, free: 33.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006154/0.1891, allocations: 154 kB / 324.1 MB, free: 33.5 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 (44): * Single equations (assignments): 43 * 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.0002159/0.1894, allocations: 141.8 kB / 324.2 MB, free: 33.42 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.1904, allocations: 0.5612 MB / 324.8 MB, free: 33.3 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1904, allocations: 0 / 324.8 MB, free: 33.3 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005083/0.1909, allocations: 368.2 kB / 325.1 MB, free: 33.17 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.1912, allocations: 34.77 kB / 325.1 MB, free: 33.15 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.1925, allocations: 0.8066 MB / 326 MB, free: 32.71 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001756/0.1926, allocations: 211.8 kB / 326.2 MB, free: 32.63 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001951/0.1928, allocations: 50.45 kB / 326.2 MB, free: 32.63 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.752e-05/0.1929, allocations: 37.45 kB / 326.2 MB, free: 32.62 MB / 302.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1929, allocations: 3.188 kB / 326.2 MB, free: 32.62 MB / 302.1 MB Notification: Performance of Templates: time 0.009693/0.2026, allocations: 4.239 MB / 330.5 MB, free: 32.14 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.340863339602947]