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.001583/0.001583, allocations: 112.5 kB / 18.45 MB, free: 4.605 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.001295/0.001295, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.488/1.488, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.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 0.001508/0.001508, allocations: 47.92 kB / 374.1 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1068, allocations: 53.32 MB / 427.5 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005299/0.1121, allocations: 3.731 MB / 431.2 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1917/0.3038, allocations: 1.497 MB / 432.7 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003978/0.3042, allocations: 9.438 kB / 432.7 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001752/0.3059, allocations: 0.7581 MB / 433.5 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009477/0.3069, allocations: 388 kB / 433.8 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008471/0.3077, allocations: 0.5553 MB / 434.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003522/0.3081, allocations: 459.6 kB / 434.9 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004214/0.3085, allocations: 295.9 kB / 435.1 MB, free: 7.711 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002412/0.3087, allocations: 209.6 kB / 435.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002426/0.309, allocations: 272.1 kB / 435.6 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.749e-05/0.309, allocations: 41.78 kB / 435.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000383/0.3094, allocations: 216.3 kB / 435.9 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.011e-05/0.3095, allocations: 107.2 kB / 436 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001814/0.3096, allocations: 236.2 kB / 436.2 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.3107, allocations: 0.6838 MB / 436.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3107, allocations: 0 / 436.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.3107, allocations: 0 / 436.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.3107, allocations: 1.844 kB / 436.9 MB, free: 7.406 MB / 350.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.002326/0.313, allocations: 0.9172 MB / 437.8 MB, free: 6.887 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.313, allocations: 13.81 kB / 437.8 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003586/0.3166, allocations: 478.9 kB / 438.3 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004841/0.3171, allocations: 308.2 kB / 438.6 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.675e-05/0.3172, allocations: 39.12 kB / 438.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-05/0.3172, allocations: 51.53 kB / 438.7 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009368/0.3182, allocations: 0.5209 MB / 439.2 MB, free: 6.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.3182, allocations: 1.688 kB / 439.2 MB, free: 6.262 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.17e-05/0.3182, allocations: 20.47 kB / 439.2 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.3183, allocations: 16.56 kB / 439.2 MB, free: 6.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.3193, allocations: 0.5699 MB / 439.8 MB, free: 6.059 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002652/0.3219, allocations: 1.951 MB / 441.8 MB, free: 4.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/0.3236, allocations: 2.136 MB / 443.9 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003931/0.324, allocations: 189.1 kB / 444.1 MB, free: 2.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.3241, allocations: 181.2 kB / 444.3 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.3241, allocations: 37.62 kB / 444.3 MB, free: 2.285 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.204e-06/0.3241, allocations: 0.5 kB / 444.3 MB, free: 2.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001892/0.326, allocations: 0.7903 MB / 445.1 MB, free: 1.934 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.326, allocations: 56.34 kB / 445.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.3262, allocations: 187.9 kB / 445.3 MB, free: 1.738 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.3262, allocations: 31.39 kB / 445.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.592e-05/0.3263, allocations: 227.2 kB / 445.6 MB, free: 1.512 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.776e-05/0.3264, allocations: 172 kB / 445.7 MB, free: 1.379 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.3265, allocations: 81.75 kB / 445.8 MB, free: 1.336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.12e-05/0.3266, allocations: 340.6 kB / 446.1 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002819/0.3269, allocations: 154.1 kB / 446.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003239/0.3272, allocations: 231.2 kB / 446.5 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006033/0.3278, allocations: 403.4 kB / 446.9 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3278, allocations: 0 / 446.9 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009589/0.3288, allocations: 0.5316 MB / 447.5 MB, free: 364 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3288, allocations: 7.422 kB / 447.5 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.3288, allocations: 2.875 kB / 447.5 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003511/0.3291, allocations: 89.55 kB / 447.5 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003795/0.3295, allocations: 94.75 kB / 447.6 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002108/0.3316, allocations: 2.04 MB / 449.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002904/0.3319, allocations: 49.73 kB / 449.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-05/0.3319, allocations: 18.47 kB / 449.7 MB, free: 14.48 MB / 366.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.000228/0.3322, allocations: 169.7 kB / 449.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.95e-05/0.3322, allocations: 28.16 kB / 449.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/0.3334, allocations: 0.5407 MB / 450.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.3334, allocations: 4.938 kB / 450.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3334, allocations: 1.156 kB / 450.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.3334, allocations: 3.938 kB / 450.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/0.3352, allocations: 1.129 MB / 451.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.3352, allocations: 3.938 kB / 451.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003209/0.3355, allocations: 76.7 kB / 451.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002812/0.3358, allocations: 89.89 kB / 451.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.312e-05/0.3358, allocations: 14.84 kB / 451.8 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002073/0.3379, allocations: 2.04 MB / 453.8 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3379, allocations: 6 kB / 453.8 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/0.3393, allocations: 0.7935 MB / 454.6 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-05/0.3393, allocations: 107.1 kB / 454.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.082e-05/0.3394, allocations: 10.97 kB / 454.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.3396, allocations: 17.98 kB / 454.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.539e-05/0.3397, allocations: 35.09 kB / 454.8 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.979e-05/0.3397, allocations: 14.67 kB / 454.8 MB, free: 11.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001359/0.3399, allocations: 139.4 kB / 455 MB, free: 10.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3399, allocations: 0 / 455 MB, free: 10.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006202/0.3405, allocations: 153.2 kB / 455.1 MB, free: 10.87 MB / 366.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.0002411/0.3407, allocations: 146.5 kB / 455.3 MB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.3418, allocations: 0.5388 MB / 455.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3418, allocations: 0 / 455.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005794/0.3424, allocations: 358 kB / 456.1 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.3427, allocations: 29.02 kB / 456.2 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.344, allocations: 0.848 MB / 457 MB, free: 9.773 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004202/0.3445, allocations: 0.8058 MB / 457.8 MB, free: 9.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.3446, allocations: 38.88 kB / 457.9 MB, free: 9.059 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3446, allocations: 4 kB / 457.9 MB, free: 9.055 MB / 366.1 MB Notification: Performance of Templates: time 0.009275/0.3539, allocations: 6.516 MB / 464.4 MB, free: 6.547 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/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: 7.653619713993976]