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.001419/0.001419, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001608/0.001608, allocations: 205.8 kB / 23.72 MB, free: 4.391 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.477/1.477, allocations: 230.5 MB / 257.4 MB, free: 7.75 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.002086/0.002086, allocations: 59.91 kB / 378.2 MB, free: 2.289 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2361, allocations: 53.41 MB / 431.6 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005686/0.2418, allocations: 3.978 MB / 435.6 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002594/0.2444, allocations: 1.551 MB / 437.2 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000238/0.2447, allocations: 19.88 kB / 437.2 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003397/0.245, allocations: 130.5 kB / 437.3 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007555/0.2458, allocations: 361.6 kB / 437.7 MB, free: 452 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004296/0.2462, allocations: 239.7 kB / 437.9 MB, free: 212 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001018/0.2472, allocations: 0.9785 MB / 438.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002859/0.2475, allocations: 154 kB / 439 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000516/0.248, allocations: 398.7 kB / 439.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005061/0.2485, allocations: 374.2 kB / 439.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001398/0.2487, allocations: 96 kB / 439.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003763/0.249, allocations: 215.9 kB / 440.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001732/0.2492, allocations: 195.3 kB / 440.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003567/0.2496, allocations: 346.5 kB / 440.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00124/0.2508, allocations: 1.178 MB / 441.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2508, allocations: 4 kB / 441.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2508, allocations: 0 / 441.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.2508, allocations: 4 kB / 441.8 MB, free: 12.29 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.002415/0.2532, allocations: 1.042 MB / 442.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.2533, allocations: 15.98 kB / 442.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002519/0.2535, allocations: 88.45 kB / 442.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008375/0.2544, allocations: 465.4 kB / 443.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/0.2545, allocations: 131 kB / 443.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002033/0.2547, allocations: 76.42 kB / 443.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.2559, allocations: 0.7063 MB / 444.3 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.2559, allocations: 0 / 444.3 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.909e-05/0.256, allocations: 24 kB / 444.3 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.256, allocations: 12 kB / 444.3 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.2572, allocations: 0.5243 MB / 444.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003397/0.2606, allocations: 1.967 MB / 446.8 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.2616, allocations: 464.6 kB / 447.3 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005442/0.2622, allocations: 246.1 kB / 447.5 MB, free: 6.328 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.2622, allocations: 4 kB / 447.5 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.2622, allocations: 42.55 kB / 447.6 MB, free: 6.273 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 1.743e-06/0.2622, allocations: 3.938 kB / 447.6 MB, free: 6.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.01295/0.2752, allocations: 3.321 MB / 450.9 MB, free: 2.914 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.308e-05/0.2752, allocations: 93.53 kB / 451 MB, free: 2.805 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007451/0.276, allocations: 0.5135 MB / 451.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.448e-05/0.276, allocations: 37.7 kB / 451.5 MB, free: 2.242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/0.2763, allocations: 316.8 kB / 451.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002066/0.2765, allocations: 230 kB / 452.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002167/0.2767, allocations: 114.3 kB / 452.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.2769, allocations: 370.8 kB / 452.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006056/0.2775, allocations: 245.2 kB / 452.8 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006841/0.2782, allocations: 348.5 kB / 453.1 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/0.2795, allocations: 0.5994 MB / 453.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2795, allocations: 8 kB / 453.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001628/0.2811, allocations: 0.736 MB / 454.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.2812, allocations: 11.94 kB / 454.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.2812, allocations: 4 kB / 454.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002237/0.2814, allocations: 36.77 kB / 454.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008095/0.2822, allocations: 163.8 kB / 454.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/0.2834, allocations: 1.308 MB / 456 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005522/0.284, allocations: 31.98 kB / 456 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.261e-05/0.284, allocations: 27.98 kB / 456.1 MB, free: 13.52 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.0003253/0.2843, allocations: 201.7 kB / 456.2 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.2845, allocations: 59.72 kB / 456.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001904/0.2864, allocations: 0.8356 MB / 457.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.2864, allocations: 12 kB / 457.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.2864, allocations: 0 / 457.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.2864, allocations: 11.86 kB / 457.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003798/0.2902, allocations: 1.586 MB / 458.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.2902, allocations: 0 / 458.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005523/0.2908, allocations: 111.9 kB / 458.9 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002373/0.2931, allocations: 464.4 kB / 459.3 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.255e-05/0.2932, allocations: 23.98 kB / 459.3 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005345/0.2985, allocations: 2.958 MB / 462.3 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.2985, allocations: 3.984 kB / 462.3 MB, free: 7.109 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003149/0.3017, allocations: 1.362 MB / 463.7 MB, free: 5.727 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003353/0.302, allocations: 131.7 kB / 463.8 MB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.794e-05/0.3021, allocations: 16 kB / 463.8 MB, free: 5.582 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005986/0.3027, allocations: 39.97 kB / 463.8 MB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.3028, allocations: 60.48 kB / 463.9 MB, free: 5.484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-05/0.3029, allocations: 16 kB / 463.9 MB, free: 5.469 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005146/0.3034, allocations: 371.1 kB / 464.3 MB, free: 5.109 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3034, allocations: 0 / 464.3 MB, free: 5.109 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007219/0.3041, allocations: 187.9 kB / 464.5 MB, free: 4.926 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.0002957/0.3044, allocations: 151 kB / 464.6 MB, free: 4.766 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001606/0.306, allocations: 0.7035 MB / 465.3 MB, free: 4.051 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.306, allocations: 4.188 kB / 465.3 MB, free: 4.047 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009716/0.307, allocations: 0.4982 MB / 465.8 MB, free: 3.535 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006275/0.3076, allocations: 85.12 kB / 465.9 MB, free: 3.457 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002987/0.3106, allocations: 1.487 MB / 467.4 MB, free: 1.941 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.311, allocations: 303.1 kB / 467.7 MB, free: 1.617 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000341/0.3113, allocations: 68.66 kB / 467.8 MB, free: 1.547 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001919/0.3115, allocations: 55.41 kB / 467.8 MB, free: 1.492 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3115, allocations: 0 / 467.8 MB, free: 1.492 MB / 366.1 MB Notification: Performance of Templates: time 0.01858/0.3301, allocations: 10.28 MB / 478.1 MB, free: 7.305 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.802512876689434]