Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001302/0.001302, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001549/0.001549, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.456/1.456, allocations: 230.6 MB / 258.3 MB, free: 8.047 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-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002181/0.002181, allocations: 72.75 kB / 379 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2601, allocations: 53.37 MB / 432.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.006189/0.2663, allocations: 4.418 MB / 436.8 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003235/0.2695, allocations: 1.675 MB / 438.5 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003906/0.2699, allocations: 15.88 kB / 438.5 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004288/0.2704, allocations: 126.8 kB / 438.6 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008609/0.2712, allocations: 369.3 kB / 439 MB, free: 336 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004759/0.2717, allocations: 239.6 kB / 439.2 MB, free: 96 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001063/0.2728, allocations: 0.9785 MB / 440.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000293/0.2731, allocations: 166.1 kB / 440.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005693/0.2736, allocations: 390.8 kB / 440.8 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005817/0.2742, allocations: 426.3 kB / 441.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.2743, allocations: 99.94 kB / 441.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003906/0.2747, allocations: 219.9 kB / 441.5 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001679/0.2749, allocations: 195.3 kB / 441.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000381/0.2753, allocations: 418.1 kB / 442.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.2766, allocations: 1.173 MB / 443.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2766, allocations: 4 kB / 443.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2766, allocations: 0 / 443.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.2766, allocations: 4 kB / 443.3 MB, free: 12.05 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002437/0.279, allocations: 1.038 MB / 444.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.2791, allocations: 12.03 kB / 444.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002581/0.2793, allocations: 88.45 kB / 444.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008281/0.2802, allocations: 465.4 kB / 444.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001341/0.2803, allocations: 135 kB / 445 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002019/0.2805, allocations: 68.48 kB / 445.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.2817, allocations: 0.6058 MB / 445.7 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.2817, allocations: 0 / 445.7 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.455e-05/0.2817, allocations: 24 kB / 445.7 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.2817, allocations: 16 kB / 445.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.2829, allocations: 0.5243 MB / 446.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003578/0.2865, allocations: 2.247 MB / 448.5 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.2875, allocations: 453.2 kB / 448.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005585/0.2881, allocations: 250 kB / 449.2 MB, free: 5.934 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.274e-05/0.2881, allocations: 4 kB / 449.2 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.2882, allocations: 42.56 kB / 449.2 MB, free: 5.879 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 1.884e-06/0.2882, allocations: 0 / 449.2 MB, free: 5.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.01366/0.3018, allocations: 3.338 MB / 452.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.3019, allocations: 81.61 kB / 452.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007736/0.3027, allocations: 0.5371 MB / 453.2 MB, free: 1.855 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.943e-05/0.3027, allocations: 37.7 kB / 453.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002609/0.303, allocations: 320.9 kB / 453.5 MB, free: 1.496 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002006/0.3032, allocations: 226 kB / 453.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002175/0.3034, allocations: 114.3 kB / 453.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.3036, allocations: 366.8 kB / 454.2 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006226/0.3042, allocations: 253.1 kB / 454.5 MB, free: 0.543 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006772/0.3049, allocations: 348.5 kB / 454.8 MB, free: 176 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001334/0.3062, allocations: 0.6032 MB / 455.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.3062, allocations: 4 kB / 455.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001729/0.308, allocations: 0.7477 MB / 456.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.308, allocations: 4 kB / 456.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.308, allocations: 4 kB / 456.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002063/0.3082, allocations: 32.84 kB / 456.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008492/0.3091, allocations: 171.8 kB / 456.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/0.3103, allocations: 1.323 MB / 457.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006559/0.3109, allocations: 43.91 kB / 457.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.218e-05/0.311, allocations: 23.98 kB / 457.7 MB, free: 13.05 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.0003561/0.3113, allocations: 197.7 kB / 457.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.3115, allocations: 67.72 kB / 458 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001961/0.3134, allocations: 0.8359 MB / 458.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.3134, allocations: 15.94 kB / 458.9 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.3134, allocations: 3.938 kB / 458.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.3135, allocations: 3.984 kB / 458.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003899/0.3174, allocations: 1.8 MB / 460.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.3174, allocations: 4 kB / 460.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005488/0.3179, allocations: 111.9 kB / 460.8 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002352/0.3203, allocations: 475.1 kB / 461.2 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.961e-05/0.3203, allocations: 16 kB / 461.3 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005198/0.3255, allocations: 3.046 MB / 464.3 MB, free: 6.305 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.3255, allocations: 8.031 kB / 464.3 MB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003051/0.3286, allocations: 1.37 MB / 465.7 MB, free: 4.902 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003056/0.3289, allocations: 131.5 kB / 465.8 MB, free: 4.773 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.963e-05/0.329, allocations: 16 kB / 465.8 MB, free: 4.758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005885/0.3295, allocations: 43.97 kB / 465.9 MB, free: 4.715 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.3297, allocations: 48.56 kB / 465.9 MB, free: 4.668 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.72e-05/0.3297, allocations: 19.98 kB / 465.9 MB, free: 4.648 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005201/0.3302, allocations: 390.9 kB / 466.3 MB, free: 4.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3302, allocations: 0 / 466.3 MB, free: 4.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006876/0.3309, allocations: 183.9 kB / 466.5 MB, free: 4.09 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.0002774/0.3312, allocations: 161.8 kB / 466.7 MB, free: 3.922 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001547/0.3328, allocations: 0.7071 MB / 467.4 MB, free: 3.203 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3328, allocations: 3.938 kB / 467.4 MB, free: 3.199 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009505/0.3337, allocations: 0.5027 MB / 467.9 MB, free: 2.684 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006246/0.3343, allocations: 91.66 kB / 468 MB, free: 2.598 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002808/0.3371, allocations: 1.492 MB / 469.4 MB, free: 1.074 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005245/0.3377, allocations: 0.9003 MB / 470.3 MB, free: 152 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003159/0.338, allocations: 72.8 kB / 470.4 MB, free: 80 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.3382, allocations: 47.42 kB / 470.5 MB, free: 32 kB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3382, allocations: 0 / 470.5 MB, free: 32 kB / 366.1 MB Notification: Performance of Templates: time 0.01949/0.3576, allocations: 10.9 MB / 481.4 MB, free: 5.238 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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: 5.027554860338569]