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.001367/0.001367, allocations: 106.5 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.001623/0.001623, allocations: 213.3 kB / 24.54 MB, free: 4.016 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.448/1.448, allocations: 230.3 MB / 258 MB, free: 8.258 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.001903/0.001903, allocations: 67.88 kB / 378.8 MB, free: 2.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2521, allocations: 53.36 MB / 432.1 MB, free: 7.074 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.006392/0.2585, allocations: 4.433 MB / 436.5 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003529/0.262, allocations: 1.66 MB / 438.2 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003373/0.2624, allocations: 11.94 kB / 438.2 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004225/0.2628, allocations: 130.7 kB / 438.3 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008265/0.2636, allocations: 371.6 kB / 438.7 MB, free: 460 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004676/0.2641, allocations: 239.7 kB / 438.9 MB, free: 220 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001087/0.2652, allocations: 0.9824 MB / 439.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003091/0.2655, allocations: 166.1 kB / 440.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005669/0.2661, allocations: 382.8 kB / 440.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005668/0.2666, allocations: 434.2 kB / 440.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.2668, allocations: 96 kB / 441 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004146/0.2672, allocations: 219.9 kB / 441.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002003/0.2674, allocations: 195.3 kB / 441.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004227/0.2678, allocations: 422.1 kB / 441.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001341/0.2691, allocations: 1.171 MB / 443 MB, free: 12.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/0.2691, allocations: 3.984 kB / 443 MB, free: 12.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2691, allocations: 0 / 443 MB, free: 12.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.2692, allocations: 0 / 443 MB, free: 12.17 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.00261/0.2718, allocations: 1.042 MB / 444 MB, free: 11.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.2718, allocations: 8.031 kB / 444 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002727/0.2721, allocations: 92.47 kB / 444.1 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008791/0.273, allocations: 473.4 kB / 444.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001633/0.2731, allocations: 71.58 kB / 444.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002143/0.2733, allocations: 76.42 kB / 444.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.2746, allocations: 0.6059 MB / 445.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.2747, allocations: 0 / 445.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.281e-05/0.2747, allocations: 24 kB / 445.3 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.2747, allocations: 12 kB / 445.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.276, allocations: 0.5282 MB / 445.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003851/0.2798, allocations: 2.244 MB / 448.1 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.2809, allocations: 460.8 kB / 448.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005964/0.2815, allocations: 254 kB / 448.8 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/0.2816, allocations: 4 kB / 448.8 MB, free: 6.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/0.2816, allocations: 42.5 kB / 448.9 MB, free: 6.051 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 2.144e-06/0.2816, allocations: 0 / 448.9 MB, free: 6.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.01392/0.2955, allocations: 3.332 MB / 452.2 MB, free: 2.684 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/0.2956, allocations: 85.61 kB / 452.3 MB, free: 2.582 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007857/0.2964, allocations: 0.5371 MB / 452.8 MB, free: 2.035 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.899e-05/0.2964, allocations: 41.69 kB / 452.9 MB, free: 1.988 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002699/0.2967, allocations: 320.9 kB / 453.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/0.2969, allocations: 222.1 kB / 453.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002261/0.2971, allocations: 118.2 kB / 453.5 MB, free: 1.332 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.2973, allocations: 370.8 kB / 453.9 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006075/0.2979, allocations: 245.2 kB / 454.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006868/0.2986, allocations: 348.5 kB / 454.5 MB, free: 360 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/0.3, allocations: 0.6032 MB / 455.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3, allocations: 0 / 455.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001666/0.3016, allocations: 0.7474 MB / 455.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.3016, allocations: 8 kB / 455.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3017, allocations: 0 / 455.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001767/0.3018, allocations: 41.09 kB / 455.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008387/0.3027, allocations: 163.8 kB / 456 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001267/0.3039, allocations: 1.331 MB / 457.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005934/0.3045, allocations: 39.92 kB / 457.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.633e-05/0.3046, allocations: 28.05 kB / 457.4 MB, free: 13.23 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.0003195/0.3049, allocations: 201.7 kB / 457.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.3051, allocations: 63.58 kB / 457.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002017/0.3071, allocations: 0.8358 MB / 458.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.3071, allocations: 11.94 kB / 458.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.3071, allocations: 0 / 458.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.3071, allocations: 3.984 kB / 458.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004094/0.3112, allocations: 1.812 MB / 460.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.3112, allocations: 0 / 460.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005528/0.3117, allocations: 103.9 kB / 460.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002428/0.3142, allocations: 476.3 kB / 460.9 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6e-05/0.3142, allocations: 19.98 kB / 460.9 MB, free: 9.637 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005799/0.32, allocations: 3.05 MB / 464 MB, free: 6.477 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.32, allocations: 4 kB / 464 MB, free: 6.473 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00337/0.3234, allocations: 1.37 MB / 465.3 MB, free: 5.078 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003749/0.3238, allocations: 135.5 kB / 465.5 MB, free: 4.945 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.3239, allocations: 16 kB / 465.5 MB, free: 4.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006567/0.3246, allocations: 35.97 kB / 465.5 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.3247, allocations: 52.55 kB / 465.6 MB, free: 4.844 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.191e-05/0.3248, allocations: 24 kB / 465.6 MB, free: 4.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005633/0.3253, allocations: 386.9 kB / 466 MB, free: 4.445 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3253, allocations: 0 / 466 MB, free: 4.445 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007945/0.3261, allocations: 187.9 kB / 466.2 MB, free: 4.262 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.0003354/0.3265, allocations: 155 kB / 466.3 MB, free: 4.098 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001737/0.3282, allocations: 0.7076 MB / 467 MB, free: 3.379 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.3282, allocations: 4 kB / 467 MB, free: 3.375 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.3293, allocations: 0.4982 MB / 467.5 MB, free: 2.863 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007231/0.33, allocations: 97.11 kB / 467.6 MB, free: 2.773 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00321/0.3332, allocations: 1.483 MB / 469.1 MB, free: 1.262 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006607/0.3339, allocations: 0.9042 MB / 470 MB, free: 340 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003436/0.3342, allocations: 72.8 kB / 470.1 MB, free: 268 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002064/0.3344, allocations: 55.41 kB / 470.1 MB, free: 212 kB / 366.1 MB Notification: Performance of SimCode: time 9.81e-07/0.3344, allocations: 0 / 470.1 MB, free: 212 kB / 366.1 MB Notification: Performance of Templates: time 0.02144/0.3558, allocations: 10.88 MB / 481 MB, free: 5.402 MB / 382.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.889824167825282]