Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.21/1.21, allocations: 205.1 MB / 223.7 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000983/0.000983, allocations: 100.4 kB / 271.2 MB, free: 8.449 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008685/0.0008687, allocations: 43.94 kB / 327.2 MB, free: 328 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2084, allocations: 46.62 MB / 373.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.003774/0.2122, allocations: 3.369 MB / 377.2 MB, free: 43.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.2139, allocations: 1.392 MB / 378.6 MB, free: 42.1 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.214, allocations: 5.875 kB / 378.6 MB, free: 42.1 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001944/0.216, allocations: 1.852 MB / 380.5 MB, free: 41.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003068/0.2163, allocations: 146.6 kB / 380.6 MB, free: 41.13 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005286/0.2169, allocations: 255.9 kB / 380.8 MB, free: 40.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001381/0.2182, allocations: 1.7 MB / 382.5 MB, free: 40.29 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001923/0.2184, allocations: 119.3 kB / 382.7 MB, free: 40.22 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002984/0.2188, allocations: 288.6 kB / 382.9 MB, free: 40.08 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002873/0.2191, allocations: 306.8 kB / 383.2 MB, free: 39.9 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.781e-05/0.2191, allocations: 27.94 kB / 383.3 MB, free: 39.9 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.2193, allocations: 55.31 kB / 383.3 MB, free: 39.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003897/0.2197, allocations: 0.8315 MB / 384.2 MB, free: 39.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003983/0.2201, allocations: 0.8916 MB / 385 MB, free: 38.28 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.2212, allocations: 2.536 MB / 387.6 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2212, allocations: 0 / 387.6 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.2213, allocations: 0 / 387.6 MB, free: 35.74 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.2213, allocations: 0 / 387.6 MB, free: 35.74 MB / 298.7 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.002866/0.2242, allocations: 2.802 MB / 390.4 MB, free: 32.87 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.2242, allocations: 12.03 kB / 390.4 MB, free: 32.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002186/0.2244, allocations: 277.3 kB / 390.7 MB, free: 32.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001782/0.2262, allocations: 1.82 MB / 392.5 MB, free: 30.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.38e-05/0.2263, allocations: 63.2 kB / 392.5 MB, free: 30.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.2264, allocations: 47.92 kB / 392.6 MB, free: 30.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005447/0.227, allocations: 391 kB / 393 MB, free: 30.2 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.227, allocations: 0 / 393 MB, free: 30.2 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.063e-05/0.227, allocations: 16 kB / 393 MB, free: 30.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.2271, allocations: 8 kB / 393 MB, free: 30.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005623/0.2276, allocations: 335.7 kB / 393.3 MB, free: 29.85 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002928/0.2306, allocations: 2.907 MB / 396.2 MB, free: 26.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004768/0.2311, allocations: 313 kB / 396.5 MB, free: 26.52 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002435/0.2313, allocations: 169.5 kB / 396.7 MB, free: 26.35 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.2313, allocations: 4 kB / 396.7 MB, free: 26.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/0.2314, allocations: 47.09 kB / 396.8 MB, free: 26.29 MB / 298.7 MB Notification: Performance of pre-optimization done (n=37): time 1.482e-06/0.2314, allocations: 0 / 396.8 MB, free: 26.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.003502/0.2349, allocations: 2.358 MB / 399.1 MB, free: 23.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.398e-05/0.2349, allocations: 85.55 kB / 399.2 MB, free: 23.76 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003949/0.2389, allocations: 5.431 MB / 404.6 MB, free: 18.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.2389, allocations: 29.7 kB / 404.7 MB, free: 18.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006826/0.2396, allocations: 1.214 MB / 405.9 MB, free: 17.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.515e-05/0.2397, allocations: 165.5 kB / 406 MB, free: 16.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.2398, allocations: 90.25 kB / 406.1 MB, free: 16.81 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.536e-05/0.2398, allocations: 330 kB / 406.4 MB, free: 16.48 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002572/0.2401, allocations: 137.1 kB / 406.6 MB, free: 16.35 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002722/0.2404, allocations: 221.6 kB / 406.8 MB, free: 16.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000525/0.2409, allocations: 384.3 kB / 407.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2409, allocations: 0 / 407.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0008234/0.2418, allocations: 0.6839 MB / 407.9 MB, free: 15.01 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.2418, allocations: 4.25 kB / 407.9 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.2418, allocations: 8 kB / 407.9 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.2418, allocations: 4 kB / 407.9 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004403/0.2423, allocations: 123.8 kB / 408 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.2423, allocations: 4 kB / 408 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003505/0.2427, allocations: 27.81 kB / 408 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.2427, allocations: 19.98 kB / 408 MB, free: 14.82 MB / 298.7 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.000614/0.2433, allocations: 0.9192 MB / 409 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002118/0.2435, allocations: 276.4 kB / 409.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.2446, allocations: 0.7669 MB / 410 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.2446, allocations: 8 kB / 410 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.2446, allocations: 0 / 410 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.2446, allocations: 3.984 kB / 410 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.2457, allocations: 1.469 MB / 411.5 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2458, allocations: 4 kB / 411.5 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003937/0.2462, allocations: 91.88 kB / 411.6 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002612/0.2464, allocations: 88.78 kB / 411.7 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/0.2465, allocations: 12 kB / 411.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003654/0.2468, allocations: 0.6343 MB / 412.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2469, allocations: 0 / 412.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01064/0.2575, allocations: 9.736 MB / 422 MB, free: 396 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007871/0.2583, allocations: 489.8 kB / 422.5 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/0.2585, allocations: 11.98 kB / 422.5 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004285/0.2589, allocations: 27.92 kB / 422.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.333e-05/0.259, allocations: 28.33 kB / 422.6 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.638e-05/0.259, allocations: 12 kB / 422.6 MB, free: 15.8 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.004108/0.2631, allocations: 3.977 MB / 426.6 MB, free: 11.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2631, allocations: 0 / 426.6 MB, free: 11.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001037/0.2642, allocations: 356 kB / 426.9 MB, free: 11.49 MB / 314.7 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.0008824/0.2651, allocations: 427.7 kB / 427.3 MB, free: 11.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007295/0.2658, allocations: 380.8 kB / 427.7 MB, free: 10.71 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2658, allocations: 0.5 kB / 427.7 MB, free: 10.71 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004547/0.2663, allocations: 214.4 kB / 427.9 MB, free: 10.51 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009878/0.2673, allocations: 183.9 kB / 428.1 MB, free: 10.32 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007027/0.2743, allocations: 6.496 MB / 434.6 MB, free: 3.766 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001486/0.2758, allocations: 1.83 MB / 436.4 MB, free: 1.902 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000549/0.2764, allocations: 287.6 kB / 436.7 MB, free: 1.617 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002547/0.2767, allocations: 95.42 kB / 436.8 MB, free: 1.523 MB / 314.7 MB Notification: Performance of SimCode: time 3.9e-07/0.2767, allocations: 0 / 436.8 MB, free: 1.523 MB / 314.7 MB Notification: Performance of Templates: time 0.02838/0.305, allocations: 16.77 MB / 453.6 MB, free: 0.7305 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches