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.002129/0.002129, allocations: 177.5 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.67/2.67, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.001106/0.001106, allocations: 85.41 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005435/0.0005437, allocations: 8 kB / 328.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5272/0.5278, allocations: 47.57 MB / 375.7 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.197/0.7249, allocations: 84 MB / 459.7 MB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004079/0.7254, allocations: 87.95 kB / 459.8 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.118/0.8434, allocations: 39.27 MB / 499.1 MB, free: 4.973 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.322e-06/0.8435, allocations: 0 / 499.1 MB, free: 4.973 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003118/0.8438, allocations: 36 kB / 499.1 MB, free: 4.938 MB / 378.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.008277/0.8521, allocations: 2.554 MB / 0.4899 GB, free: 2.312 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.627e-05/0.8522, allocations: 8.031 kB / 0.4899 GB, free: 2.305 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.8533, allocations: 289.3 kB / 0.4902 GB, free: 2.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3215/1.175, allocations: 2.037 MB / 0.4922 GB, free: 100.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/1.175, allocations: 57.94 kB / 0.4923 GB, free: 100.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002944/1.175, allocations: 47.11 kB / 0.4923 GB, free: 100.6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/1.177, allocations: 400.4 kB / 0.4927 GB, free: 100.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.707e-05/1.177, allocations: 0.5 kB / 0.4927 GB, free: 100.6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.868e-05/1.177, allocations: 18.41 kB / 0.4927 GB, free: 100.6 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.35e-05/1.177, allocations: 8.969 kB / 0.4927 GB, free: 100.6 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/1.178, allocations: 327.5 kB / 0.493 GB, free: 100.6 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01994/1.198, allocations: 3.094 MB / 0.496 GB, free: 99.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/1.2, allocations: 323.2 kB / 0.4963 GB, free: 99.86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005527/1.2, allocations: 169 kB / 0.4965 GB, free: 99.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.927e-05/1.2, allocations: 8.031 kB / 0.4965 GB, free: 99.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.923e-05/1.2, allocations: 40.25 kB / 0.4966 GB, free: 99.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=37): time 6.342e-06/1.2, allocations: 0 / 0.4966 GB, free: 99.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.01223/1.213, allocations: 2.547 MB / 0.499 GB, free: 98.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.514e-05/1.213, allocations: 82.86 kB / 0.4991 GB, free: 98.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02247/1.235, allocations: 5.281 MB / 0.5043 GB, free: 97.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002494/1.236, allocations: 35.02 kB / 0.5043 GB, free: 97.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004147/1.24, allocations: 1.185 MB / 0.5055 GB, free: 96.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000482/1.241, allocations: 166.6 kB / 0.5056 GB, free: 96.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.973e-05/1.241, allocations: 11.84 kB / 0.5056 GB, free: 96.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002166/1.241, allocations: 324.4 kB / 0.5059 GB, free: 96.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006846/1.242, allocations: 138.6 kB / 0.5061 GB, free: 96.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005522/1.242, allocations: 215.5 kB / 0.5063 GB, free: 95.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/1.243, allocations: 380.2 kB / 0.5066 GB, free: 95.74 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/1.243, allocations: 0 / 0.5066 GB, free: 95.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00351/1.247, allocations: 0.6827 MB / 0.5073 GB, free: 95.42 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.56e-05/1.247, allocations: 7.719 kB / 0.5073 GB, free: 95.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/1.247, allocations: 3.969 kB / 0.5073 GB, free: 95.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.033e-05/1.247, allocations: 3.875 kB / 0.5073 GB, free: 95.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008141/1.248, allocations: 120.5 kB / 0.5074 GB, free: 95.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.857e-05/1.248, allocations: 9.438 kB / 0.5075 GB, free: 95.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002239/1.25, allocations: 23.66 kB / 0.5075 GB, free: 95.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.984e-05/1.25, allocations: 18.28 kB / 0.5075 GB, free: 95.4 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (61): * Single equations (assignments): 61 * 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.00266/1.253, allocations: 0.9198 MB / 0.5084 GB, free: 95.06 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001524/1.254, allocations: 281 kB / 0.5087 GB, free: 94.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002865/1.257, allocations: 0.7803 MB / 0.5094 GB, free: 94.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/1.257, allocations: 10.66 kB / 0.5094 GB, free: 94.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/1.257, allocations: 0 / 0.5094 GB, free: 94.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/1.257, allocations: 3.609 kB / 0.5094 GB, free: 94.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005179/1.263, allocations: 1.699 MB / 0.5111 GB, free: 93.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.246e-05/1.263, allocations: 3.594 kB / 0.5111 GB, free: 93.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008975/1.264, allocations: 101.7 kB / 0.5112 GB, free: 93.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006112/1.264, allocations: 87.97 kB / 0.5113 GB, free: 93.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-05/1.264, allocations: 13.86 kB / 0.5113 GB, free: 93.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001088/1.265, allocations: 0.6353 MB / 0.5119 GB, free: 93.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.265, allocations: 3.344 kB / 0.5119 GB, free: 93.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003651/1.269, allocations: 1.071 MB / 0.513 GB, free: 92.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002319/1.272, allocations: 0.6784 MB / 0.5136 GB, free: 92.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008759/1.272, allocations: 17.97 kB / 0.5136 GB, free: 92.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/1.274, allocations: 31.91 kB / 0.5137 GB, free: 92.37 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/1.274, allocations: 28.28 kB / 0.5137 GB, free: 92.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.535e-05/1.274, allocations: 14.5 kB / 0.5137 GB, free: 92.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.01321/1.287, allocations: 3.844 MB / 0.5175 GB, free: 91.06 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.734e-06/1.287, allocations: 3.656 kB / 0.5175 GB, free: 91.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003934/1.291, allocations: 328.3 kB / 0.5178 GB, free: 91.04 MB / 378.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.001816/1.293, allocations: 434.4 kB / 0.5182 GB, free: 90.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001543/1.295, allocations: 380.8 kB / 0.5186 GB, free: 90.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/1.295, allocations: 2.25 kB / 0.5186 GB, free: 90.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007626/1.295, allocations: 211.2 kB / 0.5188 GB, free: 90.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004297/1.3, allocations: 195 kB / 0.5189 GB, free: 90.49 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01996/1.32, allocations: 6.443 MB / 0.5252 GB, free: 86.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002464/1.322, allocations: 1.814 MB / 0.527 GB, free: 84.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001274/1.324, allocations: 139.3 kB / 0.5271 GB, free: 84.57 MB / 378.7 MB Notification: Performance of SimCode: time 1.973e-06/1.324, allocations: 0 / 0.5271 GB, free: 84.57 MB / 378.7 MB Notification: Performance of Templates: time 0.1178/1.442, allocations: 38.04 MB / 0.5643 GB, free: 47.57 MB / 378.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/jenkins1/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