Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 175 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.259/1.259, allocations: 223.3 MB / 241.4 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000791/0.000791, allocations: 96.56 kB / 292.6 MB, free: 10.78 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003009/0.0003009, allocations: 12 kB / 352.4 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1888, allocations: 50.4 MB / 402.8 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09775/0.2866, allocations: 93.16 MB / 495.9 MB, free: 3.164 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/0.2869, allocations: 84.45 kB / 496 MB, free: 3.082 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04271/0.3297, allocations: 15.88 MB / 0.4999 GB, free: 3.125 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3297, allocations: 0 / 0.4999 GB, free: 3.125 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.08e-05/0.3297, allocations: 16 kB / 0.4999 GB, free: 3.109 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001887/0.3316, allocations: 0.9591 MB / 0.5008 GB, free: 2.094 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.3317, allocations: 12.03 kB / 0.5008 GB, free: 2.082 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.3318, allocations: 80 kB / 0.5009 GB, free: 2.004 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007047/0.3325, allocations: 0.5029 MB / 0.5014 GB, free: 1.461 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-05/0.3326, allocations: 71.58 kB / 0.5015 GB, free: 1.387 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001798/0.3328, allocations: 76.66 kB / 0.5015 GB, free: 1.312 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.3339, allocations: 0.6099 MB / 0.5021 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.3339, allocations: 7.938 kB / 0.5021 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.244e-05/0.334, allocations: 20 kB / 0.5022 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.334, allocations: 12 kB / 0.5022 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.3351, allocations: 0.5282 MB / 0.5027 GB, free: 116 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.172/0.5071, allocations: 2.323 MB / 0.505 GB, free: 95.08 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009556/0.508, allocations: 498.9 kB / 0.5054 GB, free: 95.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005369/0.5086, allocations: 267.7 kB / 0.5057 GB, free: 95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.5086, allocations: 8.531 kB / 0.5057 GB, free: 95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.5087, allocations: 43.66 kB / 0.5057 GB, free: 94.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=45): time 1.904e-06/0.5087, allocations: 0 / 0.5057 GB, free: 94.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.01197/0.5207, allocations: 3.694 MB / 0.5094 GB, free: 94.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.5207, allocations: 84.39 kB / 0.5094 GB, free: 94.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005429/0.5212, allocations: 0.5303 MB / 0.51 GB, free: 94.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.052e-05/0.5213, allocations: 36.3 kB / 0.51 GB, free: 94.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.5214, allocations: 312.4 kB / 0.5103 GB, free: 93.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.5215, allocations: 207.2 kB / 0.5105 GB, free: 93.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.5216, allocations: 15.06 kB / 0.5105 GB, free: 93.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.078e-05/0.5217, allocations: 368.9 kB / 0.5108 GB, free: 93.47 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004815/0.5221, allocations: 253.8 kB / 0.5111 GB, free: 93.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004981/0.5227, allocations: 351 kB / 0.5114 GB, free: 93.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009965/0.5237, allocations: 0.6135 MB / 0.512 GB, free: 92.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5237, allocations: 0 / 0.512 GB, free: 92.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001288/0.525, allocations: 0.7469 MB / 0.5128 GB, free: 92.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.525, allocations: 7.875 kB / 0.5128 GB, free: 92.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.525, allocations: 0.875 kB / 0.5128 GB, free: 92.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001216/0.5251, allocations: 34.89 kB / 0.5128 GB, free: 92.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007399/0.5259, allocations: 172.1 kB / 0.513 GB, free: 92.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006672/0.5266, allocations: 1.334 MB / 0.5143 GB, free: 91.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005112/0.5271, allocations: 41.61 kB / 0.5143 GB, free: 91.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-05/0.5271, allocations: 22.7 kB / 0.5143 GB, free: 91.18 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002122/0.5274, allocations: 204.4 kB / 0.5145 GB, free: 91.01 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.5275, allocations: 62.47 kB / 0.5146 GB, free: 90.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001562/0.529, allocations: 0.8642 MB / 0.5154 GB, free: 90.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.5291, allocations: 12.62 kB / 0.5154 GB, free: 90.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.5291, allocations: 4.203 kB / 0.5154 GB, free: 90.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.5291, allocations: 3.281 kB / 0.5154 GB, free: 90.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003177/0.5323, allocations: 1.925 MB / 0.5173 GB, free: 89.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.5323, allocations: 0 / 0.5173 GB, free: 89.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004883/0.5328, allocations: 109.6 kB / 0.5174 GB, free: 89.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002204/0.535, allocations: 0.4973 MB / 0.5179 GB, free: 89.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.915e-05/0.535, allocations: 19.72 kB / 0.5179 GB, free: 89.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003967/0.539, allocations: 2.949 MB / 0.5208 GB, free: 87.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.539, allocations: 0 / 0.5208 GB, free: 87.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002527/0.5416, allocations: 1.398 MB / 0.5222 GB, free: 86.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000206/0.5418, allocations: 219.5 kB / 0.5224 GB, free: 86.53 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.882e-05/0.5419, allocations: 15.06 kB / 0.5224 GB, free: 86.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005649/0.5424, allocations: 49.45 kB / 0.5224 GB, free: 86.51 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.5426, allocations: 46.3 kB / 0.5225 GB, free: 86.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.651e-05/0.5426, allocations: 27.08 kB / 0.5225 GB, free: 86.49 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003478/0.543, allocations: 383 kB / 0.5229 GB, free: 86.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.543, allocations: 0 / 0.5229 GB, free: 86.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006161/0.5436, allocations: 194.8 kB / 0.5231 GB, free: 86.28 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (transformer.winding1.i,transformer.winding2.i,transformer.core.B,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * 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 {2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.000233/0.5438, allocations: 170.6 kB / 0.5232 GB, free: 86.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001193/0.545, allocations: 0.7441 MB / 0.524 GB, free: 85.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.545, allocations: 0.5625 kB / 0.524 GB, free: 85.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007281/0.5458, allocations: 0.5275 MB / 0.5245 GB, free: 85.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006574/0.5465, allocations: 95.52 kB / 0.5246 GB, free: 85.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.5487, allocations: 1.825 MB / 0.5263 GB, free: 83.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.549, allocations: 0.8972 MB / 0.5272 GB, free: 82.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003387/0.5493, allocations: 75.66 kB / 0.5273 GB, free: 82.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.5495, allocations: 54.78 kB / 0.5273 GB, free: 82.76 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5495, allocations: 0 / 0.5273 GB, free: 82.76 MB / 378.7 MB Notification: Performance of Templates: time 0.01325/0.5628, allocations: 9.564 MB / 0.5367 GB, free: 75.23 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches