Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 97.33 kB / 16.5 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 194.4 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 241.1 MB, free: 15.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009309/0.0009309, allocations: 45.83 kB / 299.9 MB, free: 6.289 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08259/0.08354, allocations: 49.46 MB / 349.4 MB, free: 4.828 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004681/0.08825, allocations: 3.423 MB / 352.8 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002209/0.09049, allocations: 1.442 MB / 354.3 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001922/0.0907, allocations: 4 kB / 354.3 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002152/0.09286, allocations: 1.86 MB / 356.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003472/0.09326, allocations: 143 kB / 356.3 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006279/0.09389, allocations: 274.6 kB / 356.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001502/0.09541, allocations: 1.702 MB / 358.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001898/0.09561, allocations: 115.9 kB / 358.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003184/0.09593, allocations: 293 kB / 358.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000327/0.09627, allocations: 298.8 kB / 358.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.108e-05/0.09636, allocations: 28 kB / 359 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.09655, allocations: 71.97 kB / 359 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005764/0.09713, allocations: 0.8257 MB / 359.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006527/0.09779, allocations: 0.8917 MB / 360.8 MB, free: 9.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001803/0.0996, allocations: 2.546 MB / 363.3 MB, free: 6.875 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.09962, allocations: 0 / 363.3 MB, free: 6.875 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.09963, allocations: 0 / 363.3 MB, free: 6.875 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.215e-05/0.09966, allocations: 0 / 363.3 MB, free: 6.875 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.00359/0.1033, allocations: 2.798 MB / 366.1 MB, free: 4.012 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.1033, allocations: 12.03 kB / 366.1 MB, free: 4 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003155/0.1036, allocations: 281.3 kB / 366.4 MB, free: 3.723 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002085/0.1057, allocations: 1.824 MB / 368.2 MB, free: 1.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.817e-05/0.1058, allocations: 55.27 kB / 368.3 MB, free: 1.781 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.106, allocations: 51.92 kB / 368.3 MB, free: 1.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006982/0.1067, allocations: 391 kB / 368.7 MB, free: 1.336 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.1067, allocations: 11.98 kB / 368.7 MB, free: 1.324 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.679e-05/0.1067, allocations: 16 kB / 368.7 MB, free: 1.309 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.1068, allocations: 8 kB / 368.7 MB, free: 1.301 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006988/0.1075, allocations: 331.7 kB / 369.1 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1424/0.2498, allocations: 2.896 MB / 371.9 MB, free: 23.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006061/0.2505, allocations: 315 kB / 372.3 MB, free: 23.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003193/0.2508, allocations: 167.5 kB / 372.4 MB, free: 23.39 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.477e-05/0.2509, allocations: 5.562 kB / 372.4 MB, free: 23.39 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.2509, allocations: 41.84 kB / 372.5 MB, free: 23.35 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 2.234e-06/0.2509, allocations: 3.75 kB / 372.5 MB, free: 23.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.004467/0.2554, allocations: 2.388 MB / 374.9 MB, free: 22.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.2554, allocations: 83.75 kB / 374.9 MB, free: 22.08 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005712/0.2611, allocations: 5.434 MB / 380.4 MB, free: 20.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.874e-05/0.2612, allocations: 31.67 kB / 380.4 MB, free: 20.38 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008298/0.262, allocations: 1.211 MB / 381.6 MB, free: 19.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.2621, allocations: 169.1 kB / 381.8 MB, free: 19.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.2623, allocations: 89.92 kB / 381.9 MB, free: 19.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.006e-05/0.2623, allocations: 327.2 kB / 382.2 MB, free: 18.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003465/0.2627, allocations: 138.5 kB / 382.3 MB, free: 18.9 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003439/0.263, allocations: 224.5 kB / 382.5 MB, free: 18.78 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006389/0.2637, allocations: 381.1 kB / 382.9 MB, free: 18.56 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2637, allocations: 0 / 382.9 MB, free: 18.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001138/0.2649, allocations: 0.6848 MB / 383.6 MB, free: 18.24 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.2649, allocations: 5.719 kB / 383.6 MB, free: 18.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.2649, allocations: 1.25 kB / 383.6 MB, free: 18.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.2649, allocations: 5.734 kB / 383.6 MB, free: 18.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005115/0.2654, allocations: 120.9 kB / 383.7 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.2655, allocations: 11.98 kB / 383.7 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004225/0.2659, allocations: 21.03 kB / 383.8 MB, free: 18.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/0.2659, allocations: 18.33 kB / 383.8 MB, free: 18.21 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009252/0.2669, allocations: 0.9187 MB / 384.7 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002683/0.2671, allocations: 271.6 kB / 385 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001372/0.2685, allocations: 0.7999 MB / 385.8 MB, free: 17.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.2685, allocations: 4.625 kB / 385.8 MB, free: 17.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2685, allocations: 0 / 385.8 MB, free: 17.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.2686, allocations: 2.578 kB / 385.8 MB, free: 17.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/0.2701, allocations: 1.47 MB / 387.2 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2701, allocations: 3.312 kB / 387.2 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004222/0.2705, allocations: 98.03 kB / 387.3 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003472/0.2709, allocations: 85.67 kB / 387.4 MB, free: 16.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/0.2709, allocations: 16.81 kB / 387.4 MB, free: 16.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003983/0.2713, allocations: 0.6362 MB / 388.1 MB, free: 16.19 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2714, allocations: 2.125 kB / 388.1 MB, free: 16.19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/0.2728, allocations: 1.085 MB / 389.2 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005745/0.2734, allocations: 490.8 kB / 389.6 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001748/0.2736, allocations: 10.75 kB / 389.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004681/0.2741, allocations: 17.66 kB / 389.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.202e-05/0.2741, allocations: 32.95 kB / 389.7 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/0.2742, allocations: 15.64 kB / 389.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.003354/0.2775, allocations: 3.973 MB / 393.7 MB, free: 12.51 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2775, allocations: 10.69 kB / 393.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000612/0.2782, allocations: 203.5 kB / 393.9 MB, free: 12.3 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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 {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008789/0.279, allocations: 423.8 kB / 394.3 MB, free: 12.08 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006714/0.2797, allocations: 384.8 kB / 394.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2797, allocations: 0 / 394.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003846/0.2801, allocations: 218.8 kB / 394.9 MB, free: 11.49 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.2811, allocations: 179.3 kB / 395.1 MB, free: 11.31 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005275/0.2864, allocations: 6.033 MB / 401.1 MB, free: 5.246 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.2875, allocations: 1.814 MB / 402.9 MB, free: 3.395 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004365/0.288, allocations: 271.6 kB / 403.2 MB, free: 3.125 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002327/0.2882, allocations: 91.42 kB / 403.3 MB, free: 3.035 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2882, allocations: 0 / 403.3 MB, free: 3.035 MB / 302.1 MB Notification: Performance of Templates: time 0.02894/0.3172, allocations: 14.69 MB / 418 MB, free: 4.402 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches