Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001554/0.001554, allocations: 116.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001671/0.001671, allocations: 206.6 kB / 22.12 MB, free: 0.9219 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 230.2 MB / 255.2 MB, free: 15.25 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 63.89 kB / 374.6 MB, free: 9.863 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.09423/0.09616, allocations: 53.33 MB / 427.9 MB, free: 4.438 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.1787/0.2749, allocations: 5.106 MB / 433 MB, free: 8.074 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002942/0.2778, allocations: 1.853 MB / 434.9 MB, free: 8.027 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003445/0.2782, allocations: 14.44 kB / 434.9 MB, free: 8.027 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.002191/0.2804, allocations: 1.184 MB / 436.1 MB, free: 7.793 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001417/0.2818, allocations: 0.624 MB / 436.7 MB, free: 7.629 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.283, allocations: 0.6101 MB / 437.3 MB, free: 7.441 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0009499/0.2839, allocations: 0.7563 MB / 438 MB, free: 7.223 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0006566/0.2846, allocations: 444 kB / 438.5 MB, free: 7.141 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000499/0.2851, allocations: 341.3 kB / 438.8 MB, free: 6.977 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003924/0.2855, allocations: 426.5 kB / 439.2 MB, free: 6.766 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 8.958e-05/0.2855, allocations: 63.22 kB / 439.3 MB, free: 6.766 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0006251/0.2862, allocations: 259.4 kB / 439.5 MB, free: 6.695 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.2863, allocations: 170.6 kB / 439.7 MB, free: 6.578 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002719/0.2865, allocations: 367.1 kB / 440.1 MB, free: 6.352 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001256/0.2878, allocations: 1.035 MB / 441.1 MB, free: 5.91 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2878, allocations: 0.5156 kB / 441.1 MB, free: 5.91 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.783e-06/0.2878, allocations: 4 kB / 441.1 MB, free: 5.906 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 1.437e-05/0.2878, allocations: 1.156 kB / 441.1 MB, free: 5.906 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.00395/0.2918, allocations: 1.394 MB / 442.5 MB, free: 5.109 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.2918, allocations: 9.812 kB / 442.5 MB, free: 5.109 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006062/0.2979, allocations: 0.785 MB / 443.3 MB, free: 4.969 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008684/0.2987, allocations: 416.9 kB / 443.7 MB, free: 4.617 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.466e-05/0.2988, allocations: 58 kB / 443.8 MB, free: 4.594 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.2989, allocations: 79.34 kB / 443.8 MB, free: 4.566 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.3003, allocations: 0.7697 MB / 444.6 MB, free: 4.242 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.929e-05/0.3003, allocations: 6.078 kB / 444.6 MB, free: 4.238 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-05/0.3004, allocations: 33.84 kB / 444.7 MB, free: 4.211 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/0.3004, allocations: 23.41 kB / 444.7 MB, free: 4.207 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/0.302, allocations: 0.91 MB / 445.6 MB, free: 3.906 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003834/0.3059, allocations: 2.77 MB / 448.4 MB, free: 2.152 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001835/0.3077, allocations: 2.116 MB / 450.5 MB, free: 172 kB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004872/0.3082, allocations: 296.2 kB / 450.8 MB, free: 52 kB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002037/0.3084, allocations: 186.1 kB / 450.9 MB, free: 15.86 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/0.3084, allocations: 47.17 kB / 451 MB, free: 15.8 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=75): time 2.735e-06/0.3084, allocations: 0 / 451 MB, free: 15.8 MB / 366.1 MB
Notification: Performance of matching and sorting (n=75): time 0.003782/0.3122, allocations: 1.332 MB / 452.3 MB, free: 15.29 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.3122, allocations: 60.45 kB / 452.4 MB, free: 15.22 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003702/0.3126, allocations: 294 kB / 452.7 MB, free: 15.05 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 5.701e-05/0.3127, allocations: 39.95 kB / 452.7 MB, free: 15.01 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002127/0.3129, allocations: 298.3 kB / 453 MB, free: 14.77 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002215/0.3131, allocations: 261.1 kB / 453.3 MB, free: 14.56 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/0.3133, allocations: 127.8 kB / 453.4 MB, free: 14.5 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001629/0.3135, allocations: 357.6 kB / 453.7 MB, free: 14.16 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004717/0.3139, allocations: 239.1 kB / 454 MB, free: 14.07 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000565/0.3145, allocations: 360.2 kB / 454.3 MB, free: 13.84 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.3156, allocations: 0.6268 MB / 454.9 MB, free: 13.46 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3156, allocations: 1.219 kB / 454.9 MB, free: 13.46 MB / 366.1 MB
Notification: Performance of matching and sorting (n=90) (initialization): time 0.001865/0.3174, allocations: 0.8631 MB / 455.8 MB, free: 13.1 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3175, allocations: 10.08 kB / 455.8 MB, free: 13.09 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.3175, allocations: 4.125 kB / 455.8 MB, free: 13.09 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0008301/0.3183, allocations: 209.7 kB / 456 MB, free: 13.04 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005417/0.3188, allocations: 131.3 kB / 456.1 MB, free: 13.03 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003608/0.3224, allocations: 2.716 MB / 458.9 MB, free: 10.9 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005549/0.323, allocations: 73.14 kB / 458.9 MB, free: 10.85 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.707e-05/0.3231, allocations: 30.36 kB / 459 MB, free: 10.84 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.0003183/0.3234, allocations: 198.1 kB / 459.2 MB, free: 10.67 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.3235, allocations: 49.72 kB / 459.2 MB, free: 10.64 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001945/0.3254, allocations: 0.8975 MB / 460.1 MB, free: 10.25 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-05/0.3255, allocations: 14.42 kB / 460.1 MB, free: 10.25 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3255, allocations: 2.469 kB / 460.1 MB, free: 10.25 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.3255, allocations: 2.672 kB / 460.1 MB, free: 10.25 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002864/0.3283, allocations: 1.695 MB / 461.8 MB, free: 9.336 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.3283, allocations: 1.062 kB / 461.8 MB, free: 9.336 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004838/0.3288, allocations: 109.3 kB / 461.9 MB, free: 9.312 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0007332/0.3296, allocations: 200.8 kB / 462.1 MB, free: 9.227 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.797e-05/0.3296, allocations: 17.52 kB / 462.1 MB, free: 9.215 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003401/0.333, allocations: 2.707 MB / 464.8 MB, free: 6.934 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.333, allocations: 0 / 464.8 MB, free: 6.934 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002433/0.3354, allocations: 1.258 MB / 466.1 MB, free: 6.199 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/0.3356, allocations: 134.2 kB / 466.2 MB, free: 6.066 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.725e-05/0.3357, allocations: 14.83 kB / 466.3 MB, free: 6.055 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003626/0.336, allocations: 31.78 kB / 466.3 MB, free: 6.035 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.3362, allocations: 59.25 kB / 466.3 MB, free: 6.004 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-05/0.3362, allocations: 23.47 kB / 466.4 MB, free: 5.996 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0002281/0.3364, allocations: 206.5 kB / 466.6 MB, free: 5.859 MB / 366.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.3364, allocations: 1.062 kB / 466.6 MB, free: 5.859 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0008679/0.3373, allocations: 242.4 kB / 466.8 MB, free: 5.793 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.0002659/0.3376, allocations: 151.2 kB / 466.9 MB, free: 5.672 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.001633/0.3392, allocations: 0.8069 MB / 467.8 MB, free: 5.223 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3392, allocations: 1.406 kB / 467.8 MB, free: 5.223 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0008815/0.3401, allocations: 0.5103 MB / 468.3 MB, free: 4.906 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/0.3406, allocations: 59.08 kB / 468.3 MB, free: 4.863 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.3428, allocations: 1.207 MB / 469.5 MB, free: 4.102 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005205/0.3433, allocations: 0.8857 MB / 470.4 MB, free: 3.32 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/0.3435, allocations: 63.72 kB / 470.5 MB, free: 3.297 MB / 366.1 MB
Notification: Performance of SimCode: time 1.092e-06/0.3435, allocations: 0 / 470.5 MB, free: 3.297 MB / 366.1 MB
Notification: Performance of Templates: time 0.01525/0.3588, allocations: 10.25 MB / 480.7 MB, free: 10.9 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/MultipleResonance/MultipleResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 7.668978835921735]