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.001101/0.001101, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001157/0.001157, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.302/1.302, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009582/0.0009583, allocations: 51.73 kB / 300.6 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07831/0.07929, allocations: 49.45 MB / 350.1 MB, free: 4.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004526/0.08385, allocations: 3.39 MB / 353.5 MB, free: 1.012 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002332/0.0862, allocations: 1.453 MB / 354.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002785/0.0865, allocations: 4 kB / 354.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002954/0.08946, allocations: 2.663 MB / 357.6 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005505/0.09004, allocations: 170.7 kB / 357.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007836/0.09084, allocations: 310.7 kB / 358 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001934/0.09278, allocations: 1.79 MB / 359.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002474/0.09304, allocations: 139.3 kB / 360 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003937/0.09344, allocations: 309 kB / 360.3 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004023/0.09386, allocations: 330.8 kB / 360.6 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.09397, allocations: 48 kB / 360.6 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001984/0.09418, allocations: 79.98 kB / 360.7 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000531/0.09471, allocations: 0.8491 MB / 361.6 MB, free: 8.871 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007785/0.0955, allocations: 0.9346 MB / 362.5 MB, free: 7.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001898/0.09741, allocations: 2.585 MB / 365.1 MB, free: 5.336 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.09742, allocations: 0 / 365.1 MB, free: 5.336 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.09743, allocations: 0 / 365.1 MB, free: 5.336 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.671e-05/0.09748, allocations: 0 / 365.1 MB, free: 5.336 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.004123/0.1016, allocations: 2.798 MB / 367.9 MB, free: 2.473 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.1017, allocations: 12.03 kB / 367.9 MB, free: 2.461 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003527/0.102, allocations: 277.3 kB / 368.2 MB, free: 2.188 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002163/0.1042, allocations: 1.82 MB / 370 MB, free: 320 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.895e-05/0.1043, allocations: 63.27 kB / 370.1 MB, free: 252 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.1044, allocations: 51.91 kB / 370.1 MB, free: 200 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1441/0.2486, allocations: 389.2 kB / 370.5 MB, free: 24.4 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.2487, allocations: 1.484 kB / 370.5 MB, free: 24.4 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.742e-05/0.2487, allocations: 16.94 kB / 370.5 MB, free: 24.4 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.2487, allocations: 9.25 kB / 370.5 MB, free: 24.4 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007443/0.2495, allocations: 329.5 kB / 370.8 MB, free: 24.4 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004367/0.2538, allocations: 2.906 MB / 373.7 MB, free: 23.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005897/0.2545, allocations: 314.4 kB / 374 MB, free: 23.15 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003091/0.2548, allocations: 165.8 kB / 374.2 MB, free: 23.08 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/0.2548, allocations: 6.938 kB / 374.2 MB, free: 23.08 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.2548, allocations: 42.05 kB / 374.3 MB, free: 23.03 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 2.245e-06/0.2549, allocations: 0 / 374.3 MB, free: 23.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.004496/0.2594, allocations: 2.401 MB / 376.7 MB, free: 21.8 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.2594, allocations: 82.33 kB / 376.7 MB, free: 21.7 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006356/0.2658, allocations: 5.434 MB / 382.2 MB, free: 20.03 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.265e-05/0.2658, allocations: 32.02 kB / 382.2 MB, free: 19.99 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009653/0.2668, allocations: 1.198 MB / 383.4 MB, free: 19.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.267, allocations: 171.5 kB / 383.6 MB, free: 18.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.2671, allocations: 91.02 kB / 383.7 MB, free: 18.88 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.865e-05/0.2672, allocations: 332.1 kB / 384 MB, free: 18.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003391/0.2675, allocations: 134.2 kB / 384.1 MB, free: 18.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003596/0.2679, allocations: 224.9 kB / 384.3 MB, free: 18.39 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006693/0.2686, allocations: 382.7 kB / 384.7 MB, free: 18.17 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2686, allocations: 1.125 kB / 384.7 MB, free: 18.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001195/0.2698, allocations: 0.6845 MB / 385.4 MB, free: 17.85 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.2698, allocations: 9.578 kB / 385.4 MB, free: 17.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.2699, allocations: 2.594 kB / 385.4 MB, free: 17.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.2699, allocations: 4.562 kB / 385.4 MB, free: 17.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004985/0.2704, allocations: 120.4 kB / 385.5 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.2704, allocations: 9.75 kB / 385.5 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004236/0.2708, allocations: 17.33 kB / 385.5 MB, free: 17.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-05/0.2709, allocations: 18.45 kB / 385.6 MB, free: 17.82 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.000912/0.2718, allocations: 0.915 MB / 386.5 MB, free: 17.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002758/0.2721, allocations: 279.6 kB / 386.8 MB, free: 17.32 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/0.2734, allocations: 0.7928 MB / 387.5 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.2734, allocations: 4.875 kB / 387.6 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.2734, allocations: 1.719 kB / 387.6 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.2735, allocations: 6.766 kB / 387.6 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001608/0.2751, allocations: 1.464 MB / 389 MB, free: 16.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.2751, allocations: 0 / 389 MB, free: 16.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004168/0.2755, allocations: 96.75 kB / 389.1 MB, free: 16.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003307/0.2759, allocations: 102.1 kB / 389.2 MB, free: 16.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.778e-05/0.2759, allocations: 17.89 kB / 389.2 MB, free: 16.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004038/0.2763, allocations: 0.6349 MB / 389.9 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2763, allocations: 2.141 kB / 389.9 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/0.2778, allocations: 1.079 MB / 391 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005411/0.2783, allocations: 489.4 kB / 391.4 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001713/0.2785, allocations: 11.25 kB / 391.4 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004547/0.279, allocations: 21.8 kB / 391.5 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.475e-05/0.279, allocations: 33.45 kB / 391.5 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.2791, allocations: 13.81 kB / 391.5 MB, free: 14.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00317/0.2822, allocations: 3.972 MB / 395.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2823, allocations: 0 / 395.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00059/0.2829, allocations: 207.5 kB / 395.7 MB, free: 10.89 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.0008654/0.2837, allocations: 433.6 kB / 396.1 MB, free: 10.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007682/0.2845, allocations: 402.3 kB / 396.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.2845, allocations: 0 / 396.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003839/0.2849, allocations: 218.8 kB / 396.7 MB, free: 10.04 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009149/0.2858, allocations: 194.5 kB / 396.9 MB, free: 9.848 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004876/0.2907, allocations: 5.459 MB / 402.4 MB, free: 4.363 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/0.2918, allocations: 1.814 MB / 404.2 MB, free: 2.516 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003924/0.2922, allocations: 279.6 kB / 404.4 MB, free: 2.238 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002128/0.2924, allocations: 87.44 kB / 404.5 MB, free: 2.152 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2924, allocations: 3.938 kB / 404.5 MB, free: 2.148 MB / 302.1 MB Notification: Performance of Templates: time 0.02854/0.321, allocations: 15.24 MB / 419.8 MB, free: 2.969 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