Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.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.002007/0.002007, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002496/0.002496, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.582/1.582, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.MultipleResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.pin_n1.reference.gamma|transformer.pin_n2.reference.gamma|currentSensor.abs_i|currentSensor.arg_i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.pin_n1.reference.gamma|transformer.pin_n2.reference.gamma|currentSensor.abs_i|currentSensor.arg_i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 51.92 kB / 373.5 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09576/0.09731, allocations: 53.32 MB / 426.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.1976/0.2949, allocations: 5.099 MB / 431.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003207/0.2981, allocations: 1.854 MB / 433.8 MB, free: 8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003144/0.2984, allocations: 14.62 kB / 433.8 MB, free: 8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002354/0.3008, allocations: 1.188 MB / 435 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001617/0.3024, allocations: 0.6222 MB / 435.6 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.3036, allocations: 0.6125 MB / 436.2 MB, free: 7.266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009419/0.3046, allocations: 0.753 MB / 437 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006869/0.3053, allocations: 442.7 kB / 437.4 MB, free: 6.945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004276/0.3057, allocations: 344.6 kB / 437.7 MB, free: 6.777 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004253/0.3061, allocations: 423.5 kB / 438.1 MB, free: 6.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.452e-05/0.3062, allocations: 63.19 kB / 438.2 MB, free: 6.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000585/0.3068, allocations: 256.1 kB / 438.4 MB, free: 6.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.3069, allocations: 169.7 kB / 438.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002795/0.3072, allocations: 374.8 kB / 439 MB, free: 6.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.3085, allocations: 1.032 MB / 440 MB, free: 5.715 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3085, allocations: 2.281 kB / 440 MB, free: 5.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3085, allocations: 0 / 440 MB, free: 5.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.3085, allocations: 4 kB / 440 MB, free: 5.711 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.004054/0.3125, allocations: 1.399 MB / 441.4 MB, free: 4.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.3126, allocations: 8.938 kB / 441.4 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006408/0.319, allocations: 0.7853 MB / 442.2 MB, free: 4.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006822/0.3197, allocations: 413.4 kB / 442.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.363e-05/0.3197, allocations: 61.44 kB / 442.7 MB, free: 4.395 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.3199, allocations: 79.16 kB / 442.8 MB, free: 4.367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/0.3214, allocations: 0.7694 MB / 443.5 MB, free: 4.043 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.166e-05/0.3214, allocations: 5.797 kB / 443.5 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.913e-05/0.3215, allocations: 34.53 kB / 443.6 MB, free: 4.012 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.3215, allocations: 20.16 kB / 443.6 MB, free: 4.012 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/0.3232, allocations: 0.9099 MB / 444.5 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004006/0.3272, allocations: 2.771 MB / 447.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002064/0.3293, allocations: 2.115 MB / 449.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005556/0.3298, allocations: 291.5 kB / 449.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001949/0.33, allocations: 184.7 kB / 449.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.223e-05/0.3301, allocations: 40.42 kB / 449.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.635e-06/0.3301, allocations: 4 kB / 449.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.004022/0.3341, allocations: 1.337 MB / 451.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.3341, allocations: 59.72 kB / 451.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004001/0.3345, allocations: 293.1 kB / 451.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.005e-05/0.3346, allocations: 36.78 kB / 451.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.3348, allocations: 301.2 kB / 451.9 MB, free: 14.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002369/0.3351, allocations: 265.6 kB / 452.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002111/0.3353, allocations: 122.1 kB / 452.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.3354, allocations: 358.2 kB / 452.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005021/0.3359, allocations: 235.5 kB / 452.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005864/0.3365, allocations: 364.4 kB / 453.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.3377, allocations: 0.6316 MB / 453.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.3377, allocations: 5.375 kB / 453.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00189/0.3396, allocations: 0.8589 MB / 454.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3396, allocations: 9.844 kB / 454.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.3396, allocations: 2.906 kB / 454.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008281/0.3405, allocations: 213.5 kB / 454.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005905/0.3411, allocations: 132.2 kB / 455.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003619/0.3447, allocations: 2.711 MB / 457.8 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000496/0.3452, allocations: 72.33 kB / 457.8 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.516e-05/0.3452, allocations: 29.19 kB / 457.9 MB, free: 10.65 MB / 366.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 (73): * Single equations (assignments): 72 * 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 {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003084/0.3455, allocations: 198.5 kB / 458.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.3456, allocations: 53.89 kB / 458.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002104/0.3477, allocations: 0.8884 MB / 459 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.3478, allocations: 12.12 kB / 459 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.3478, allocations: 2.469 kB / 459 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.3478, allocations: 3.656 kB / 459 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003075/0.3508, allocations: 1.692 MB / 460.7 MB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.3509, allocations: 1.125 kB / 460.7 MB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005274/0.3514, allocations: 113.4 kB / 460.8 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008059/0.3522, allocations: 204.7 kB / 461 MB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.572e-05/0.3522, allocations: 13.59 kB / 461 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003687/0.3559, allocations: 2.713 MB / 463.7 MB, free: 6.707 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3559, allocations: 0 / 463.7 MB, free: 6.707 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002583/0.3585, allocations: 1.262 MB / 465 MB, free: 5.969 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/0.3587, allocations: 135.4 kB / 465.1 MB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.759e-05/0.3587, allocations: 10.22 kB / 465.2 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003851/0.3591, allocations: 32.73 kB / 465.2 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.3593, allocations: 54.52 kB / 465.2 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.752e-05/0.3593, allocations: 22.86 kB / 465.3 MB, free: 5.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002452/0.3596, allocations: 211.1 kB / 465.5 MB, free: 5.629 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3596, allocations: 1 kB / 465.5 MB, free: 5.629 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009035/0.3605, allocations: 238.9 kB / 465.7 MB, free: 5.566 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 (63): * Single equations (assignments): 62 * 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 {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003154/0.3608, allocations: 152.2 kB / 465.8 MB, free: 5.445 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00175/0.3625, allocations: 0.8028 MB / 466.7 MB, free: 5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3625, allocations: 0 / 466.7 MB, free: 5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009269/0.3635, allocations: 0.5209 MB / 467.2 MB, free: 4.676 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004788/0.3639, allocations: 62.97 kB / 467.2 MB, free: 4.629 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/0.3661, allocations: 1.169 MB / 468.4 MB, free: 3.902 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005127/0.3666, allocations: 0.8858 MB / 469.3 MB, free: 3.121 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002793/0.3669, allocations: 81.36 kB / 469.4 MB, free: 3.086 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.367, allocations: 51.83 kB / 469.4 MB, free: 3.066 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.367, allocations: 1.125 kB / 469.4 MB, free: 3.066 MB / 366.1 MB Notification: Performance of Templates: time 0.0149/0.3819, allocations: 7.691 MB / 477.1 MB, free: 13.22 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/MultipleResonance/MultipleResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.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.980079311877489]