Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001488/0.001488, allocations: 179.5 kB / 16.41 MB, free: 5.703 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.598/1.598, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0007501/0.0007501, allocations: 90.3 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.000341, allocations: 12 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2283, allocations: 47.57 MB / 374.6 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.003115/0.2314, allocations: 2.86 MB / 377.4 MB, free: 43.24 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.2334, allocations: 1.327 MB / 378.7 MB, free: 42.22 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003026/0.2337, allocations: 5.5 kB / 378.7 MB, free: 42.22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002383/0.2361, allocations: 1.716 MB / 380.5 MB, free: 41.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004272/0.2365, allocations: 134.6 kB / 380.6 MB, free: 41.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005825/0.2371, allocations: 241.2 kB / 380.8 MB, free: 41.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001762/0.2389, allocations: 1.397 MB / 382.2 MB, free: 40.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002118/0.2391, allocations: 97.72 kB / 382.3 MB, free: 40.39 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004686/0.2396, allocations: 288.4 kB / 382.6 MB, free: 40.26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005053/0.2401, allocations: 299.7 kB / 382.9 MB, free: 40.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001445/0.2403, allocations: 22.19 kB / 382.9 MB, free: 40.11 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002372/0.2405, allocations: 58.11 kB / 383 MB, free: 40.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005805/0.2411, allocations: 0.8294 MB / 383.8 MB, free: 39.61 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002989/0.2414, allocations: 388.3 kB / 384.2 MB, free: 39.22 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001282/0.2427, allocations: 2.083 MB / 386.3 MB, free: 37.13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2427, allocations: 0 / 386.3 MB, free: 37.13 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2427, allocations: 0 / 386.3 MB, free: 37.13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.922e-05/0.2428, allocations: 0 / 386.3 MB, free: 37.13 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.003087/0.2459, allocations: 2.438 MB / 388.7 MB, free: 34.63 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.2459, allocations: 12.03 kB / 388.7 MB, free: 34.62 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004058/0.2463, allocations: 280.3 kB / 389 MB, free: 34.34 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002016/0.2484, allocations: 1.697 MB / 390.7 MB, free: 32.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.43e-05/0.2484, allocations: 58.7 kB / 390.7 MB, free: 32.53 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.2486, allocations: 47.97 kB / 390.8 MB, free: 32.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005949/0.2492, allocations: 391 kB / 391.2 MB, free: 32.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.2492, allocations: 0 / 391.2 MB, free: 32.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.374e-05/0.2493, allocations: 16 kB / 391.2 MB, free: 32.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.2493, allocations: 12 kB / 391.2 MB, free: 32.06 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005937/0.2499, allocations: 339.7 kB / 391.5 MB, free: 31.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002955/0.2528, allocations: 2.907 MB / 394.4 MB, free: 28.72 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005023/0.2533, allocations: 311.5 kB / 394.7 MB, free: 28.4 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/0.2536, allocations: 173.5 kB / 394.9 MB, free: 28.22 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.2537, allocations: 12.53 kB / 394.9 MB, free: 28.21 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.2537, allocations: 42.5 kB / 395 MB, free: 28.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=37): time 1.643e-06/0.2537, allocations: 0 / 395 MB, free: 28.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.003691/0.2574, allocations: 2.374 MB / 397.3 MB, free: 25.72 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.2574, allocations: 85.58 kB / 397.4 MB, free: 25.62 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004235/0.2617, allocations: 5.435 MB / 402.9 MB, free: 20.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.2617, allocations: 37.7 kB / 402.9 MB, free: 20.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007172/0.2624, allocations: 1.207 MB / 404.1 MB, free: 18.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.994e-05/0.2625, allocations: 169.5 kB / 404.3 MB, free: 18.76 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.048e-05/0.2626, allocations: 8 kB / 404.3 MB, free: 18.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.128e-05/0.2626, allocations: 326 kB / 404.6 MB, free: 18.43 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002835/0.2629, allocations: 141.1 kB / 404.7 MB, free: 18.29 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002926/0.2632, allocations: 217.7 kB / 404.9 MB, free: 18.05 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003126/0.2635, allocations: 172.7 kB / 405.1 MB, free: 17.88 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2636, allocations: 0 / 405.1 MB, free: 17.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0008793/0.2644, allocations: 0.6801 MB / 405.8 MB, free: 17.19 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.2645, allocations: 11.94 kB / 405.8 MB, free: 17.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2645, allocations: 0 / 405.8 MB, free: 17.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.2645, allocations: 8 kB / 405.8 MB, free: 17.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004605/0.265, allocations: 123.8 kB / 405.9 MB, free: 17.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.265, allocations: 8.203 kB / 405.9 MB, free: 17.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003783/0.2654, allocations: 23.98 kB / 406 MB, free: 17.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.545e-05/0.2654, allocations: 16 kB / 406 MB, free: 17 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007069/0.2661, allocations: 0.923 MB / 406.9 MB, free: 16.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002123/0.2663, allocations: 272.4 kB / 407.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001128/0.2675, allocations: 0.7786 MB / 407.9 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.2675, allocations: 4 kB / 408 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2675, allocations: 3.984 kB / 408 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.2675, allocations: 0 / 408 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.2686, allocations: 1.473 MB / 409.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2686, allocations: 0 / 409.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004135/0.2691, allocations: 99.88 kB / 409.5 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000266/0.2693, allocations: 92.69 kB / 409.6 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/0.2694, allocations: 11.98 kB / 409.6 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003607/0.2697, allocations: 0.6344 MB / 410.3 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2698, allocations: 0 / 410.3 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/0.271, allocations: 1.062 MB / 411.3 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005141/0.2716, allocations: 497.5 kB / 411.8 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/0.2717, allocations: 15.95 kB / 411.8 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004466/0.2722, allocations: 24.11 kB / 411.8 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.758e-05/0.2722, allocations: 28.39 kB / 411.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.2723, allocations: 16 kB / 411.9 MB, free: 10.94 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.003161/0.2754, allocations: 3.981 MB / 415.9 MB, free: 6.965 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2754, allocations: 0 / 415.9 MB, free: 6.965 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005419/0.276, allocations: 204 kB / 416.1 MB, free: 6.766 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007123/0.2767, allocations: 414.7 kB / 416.5 MB, free: 6.375 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006443/0.2774, allocations: 380.9 kB / 416.8 MB, free: 6.004 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2774, allocations: 0 / 416.8 MB, free: 6.004 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003809/0.2778, allocations: 218.9 kB / 417.1 MB, free: 5.793 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008667/0.2786, allocations: 183.8 kB / 417.2 MB, free: 5.609 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005677/0.2843, allocations: 6.127 MB / 423.4 MB, free: 15.45 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001493/0.2858, allocations: 1.818 MB / 425.2 MB, free: 13.59 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002903/0.2861, allocations: 91.42 kB / 425.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of SimCode: time 7.91e-07/0.2861, allocations: 0 / 425.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of Templates: time 0.05402/0.3402, allocations: 35.4 MB / 460.7 MB, free: 10.05 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches