Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.00158/0.00158, allocations: 114.6 kB / 18.5 MB, free: 4.562 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.001797/0.001797, allocations: 198.6 kB / 21.45 MB, free: 1.613 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.508/1.508, allocations: 230.2 MB / 254.5 MB, free: 15.44 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.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 67.89 kB / 373.8 MB, free: 9.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09801/0.09994, allocations: 53.32 MB / 427.2 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.006431/0.1064, allocations: 4.397 MB / 431.5 MB, free: 84 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002777/0.1091, allocations: 1.656 MB / 433.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000237/0.1094, allocations: 11.94 kB / 433.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003403/0.1097, allocations: 122.9 kB / 433.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007223/0.1104, allocations: 365.6 kB / 433.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004236/0.1109, allocations: 255.6 kB / 433.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000956/0.1118, allocations: 0.9768 MB / 434.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002754/0.1121, allocations: 161.4 kB / 435.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004653/0.1126, allocations: 386.6 kB / 435.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005096/0.1131, allocations: 430.3 kB / 435.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00012/0.1132, allocations: 96 kB / 436 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003555/0.1136, allocations: 223.9 kB / 436.2 MB, free: 11.42 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001596/0.1137, allocations: 191.4 kB / 436.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003614/0.1141, allocations: 410.1 kB / 436.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001209/0.1153, allocations: 1.175 MB / 438 MB, free: 9.648 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1153, allocations: 0 / 438 MB, free: 9.648 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1153, allocations: 0 / 438 MB, free: 9.648 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.387e-06/0.1153, allocations: 0 / 438 MB, free: 9.648 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002458/0.1178, allocations: 1.125 MB / 439.1 MB, free: 8.473 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.1178, allocations: 8.031 kB / 439.1 MB, free: 8.465 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000253/0.118, allocations: 92.45 kB / 439.2 MB, free: 8.375 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007654/0.1188, allocations: 0.5188 MB / 439.7 MB, free: 7.812 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-05/0.1189, allocations: 71.58 kB / 439.8 MB, free: 7.738 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001967/0.1191, allocations: 80.42 kB / 439.8 MB, free: 7.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.1202, allocations: 0.5981 MB / 440.4 MB, free: 7.043 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.1202, allocations: 0 / 440.4 MB, free: 7.043 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.915e-05/0.1203, allocations: 24 kB / 440.5 MB, free: 7.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.1203, allocations: 12 kB / 440.5 MB, free: 7.008 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.1215, allocations: 0.536 MB / 441 MB, free: 6.473 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003459/0.125, allocations: 2.287 MB / 443.3 MB, free: 4.078 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.126, allocations: 460.2 kB / 443.7 MB, free: 3.609 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005497/0.1265, allocations: 250 kB / 444 MB, free: 3.359 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.393e-05/0.1266, allocations: 8 kB / 444 MB, free: 3.352 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.786e-05/0.1267, allocations: 46.48 kB / 444 MB, free: 3.297 MB / 366.1 MB Notification: Performance of pre-optimization done (n=45): time 1.893e-06/0.1267, allocations: 4 kB / 444 MB, free: 3.293 MB / 366.1 MB Notification: Performance of matching and sorting (n=61): time 0.2098/0.3365, allocations: 3.548 MB / 447.6 MB, free: 24.42 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.3366, allocations: 86.52 kB / 447.7 MB, free: 24.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007971/0.3374, allocations: 0.5366 MB / 448.2 MB, free: 24.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.3375, allocations: 38.58 kB / 448.3 MB, free: 24.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.3376, allocations: 321.8 kB / 448.6 MB, free: 24.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.3378, allocations: 219.9 kB / 448.8 MB, free: 24.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001961/0.338, allocations: 112.1 kB / 448.9 MB, free: 24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.988e-05/0.3381, allocations: 364.4 kB / 449.3 MB, free: 23.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005267/0.3386, allocations: 247.5 kB / 449.5 MB, free: 23.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005618/0.3391, allocations: 346 kB / 449.8 MB, free: 23.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.3403, allocations: 0.6047 MB / 450.4 MB, free: 23.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3403, allocations: 1.312 kB / 450.4 MB, free: 23.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0015/0.3418, allocations: 0.7526 MB / 451.2 MB, free: 23.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.3418, allocations: 6.719 kB / 451.2 MB, free: 23.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.3418, allocations: 2.219 kB / 451.2 MB, free: 23.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001684/0.342, allocations: 31.3 kB / 451.2 MB, free: 23.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007974/0.3428, allocations: 161.7 kB / 451.4 MB, free: 23.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008087/0.3436, allocations: 1.441 MB / 452.8 MB, free: 21.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005664/0.3442, allocations: 35 kB / 452.9 MB, free: 21.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.273e-05/0.3442, allocations: 30.88 kB / 452.9 MB, free: 21.64 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002572/0.3445, allocations: 194.7 kB / 453.1 MB, free: 21.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.3446, allocations: 60.84 kB / 453.1 MB, free: 21.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001777/0.3464, allocations: 0.8414 MB / 454 MB, free: 21.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.3464, allocations: 10.38 kB / 454 MB, free: 21.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.3464, allocations: 1.125 kB / 454 MB, free: 21.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.3464, allocations: 3.516 kB / 454 MB, free: 21.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003658/0.35, allocations: 1.838 MB / 455.8 MB, free: 20.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.35, allocations: 1.812 kB / 455.8 MB, free: 20.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005361/0.3506, allocations: 103.8 kB / 455.9 MB, free: 20.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002434/0.353, allocations: 476.7 kB / 456.4 MB, free: 20.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-05/0.3531, allocations: 13.69 kB / 456.4 MB, free: 20.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004993/0.3581, allocations: 3.158 MB / 459.6 MB, free: 17.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3581, allocations: 4.969 kB / 459.6 MB, free: 17.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003027/0.3611, allocations: 1.368 MB / 460.9 MB, free: 17.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00031/0.3614, allocations: 213 kB / 461.2 MB, free: 16.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.79e-05/0.3615, allocations: 12.44 kB / 461.2 MB, free: 16.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005885/0.3621, allocations: 40.52 kB / 461.2 MB, free: 16.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.3622, allocations: 48.95 kB / 461.3 MB, free: 16.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.761e-05/0.3623, allocations: 22.97 kB / 461.3 MB, free: 16.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005058/0.3628, allocations: 389.7 kB / 461.7 MB, free: 16.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3628, allocations: 0 / 461.7 MB, free: 16.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007538/0.3636, allocations: 187.2 kB / 461.8 MB, free: 16.65 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (transformer.winding1.i,transformer.winding2.i,transformer.core.B,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002995/0.3639, allocations: 157 kB / 462 MB, free: 16.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001468/0.3653, allocations: 0.6977 MB / 462.7 MB, free: 16.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3653, allocations: 4.125 kB / 462.7 MB, free: 16.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008487/0.3662, allocations: 0.4965 MB / 463.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006518/0.3668, allocations: 103.3 kB / 463.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002751/0.3696, allocations: 1.489 MB / 464.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004248/0.37, allocations: 0.9038 MB / 465.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003471/0.3703, allocations: 70.45 kB / 465.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/0.3706, allocations: 50.28 kB / 465.8 MB, free: 14.35 MB / 366.1 MB Notification: Performance of SimCode: time 1.493e-06/0.3706, allocations: 0 / 465.8 MB, free: 14.35 MB / 366.1 MB Notification: Performance of Templates: time 0.02392/0.3945, allocations: 10.52 MB / 476.3 MB, free: 10.93 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.929841320030391]