Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001988/0.001988, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.26/2.26, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001078/0.001077, allocations: 93.33 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.983e-05/1.983e-05, allocations: 4 kB / 314.8 MB, free: 9.16 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3371, allocations: 47.57 MB / 362.3 MB, free: 45.85 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1436/0.4807, allocations: 89.33 MB / 451.7 MB, free: 12.96 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/0.4811, allocations: 83.95 kB / 451.8 MB, free: 12.88 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.07232/0.5534, allocations: 15.32 MB / 467.1 MB, free: 13.54 MB / 363.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.5535, allocations: 0 / 467.1 MB, free: 13.54 MB / 363.1 MB Notification: Performance of Transformations before backend: time 5.331e-05/0.5536, allocations: 16 kB / 467.1 MB, free: 13.53 MB / 363.1 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.002665/0.5562, allocations: 0.858 MB / 468 MB, free: 12.62 MB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.5563, allocations: 8.031 kB / 468 MB, free: 12.62 MB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002916/0.5566, allocations: 79.06 kB / 468 MB, free: 12.54 MB / 363.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.5578, allocations: 496.3 kB / 468.5 MB, free: 12.01 MB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.5579, allocations: 55 kB / 468.6 MB, free: 11.95 MB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002932/0.5582, allocations: 40 kB / 468.6 MB, free: 11.91 MB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001372/0.5596, allocations: 446.5 kB / 469.1 MB, free: 11.48 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.5609, allocations: 0.4989 MB / 469.5 MB, free: 10.96 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.561, allocations: 0 / 469.5 MB, free: 10.96 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-05/0.561, allocations: 0 / 469.5 MB, free: 10.96 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.505e-05/0.5611, allocations: 16 kB / 469.6 MB, free: 10.95 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005498/0.5666, allocations: 2.218 MB / 471.8 MB, free: 8.637 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.5677, allocations: 421.7 kB / 472.2 MB, free: 8.199 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006007/0.5683, allocations: 225 kB / 472.4 MB, free: 7.977 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.258e-05/0.5684, allocations: 8 kB / 472.4 MB, free: 7.969 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/0.5684, allocations: 42.5 kB / 472.5 MB, free: 7.918 MB / 363.1 MB Notification: Performance of pre-optimization done (n=45): time 2.725e-06/0.5684, allocations: 0 / 472.5 MB, free: 7.918 MB / 363.1 MB Notification: Performance of matching and sorting (n=61): time 0.0157/0.5841, allocations: 2.545 MB / 475 MB, free: 5.32 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.967e-05/0.5843, allocations: 86.59 kB / 475.1 MB, free: 5.215 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009641/0.5852, allocations: 433.3 kB / 475.5 MB, free: 4.785 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001228/0.5854, allocations: 25.7 kB / 475.5 MB, free: 4.754 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002742/0.5857, allocations: 350.6 kB / 475.9 MB, free: 4.41 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002636/0.5859, allocations: 208.9 kB / 476.1 MB, free: 4.203 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.452e-05/0.586, allocations: 0 / 476.1 MB, free: 4.203 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.5862, allocations: 334.8 kB / 476.4 MB, free: 3.867 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006069/0.5868, allocations: 213.5 kB / 476.6 MB, free: 3.656 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006982/0.5875, allocations: 299.4 kB / 476.9 MB, free: 3.336 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006875/0.5882, allocations: 247.8 kB / 477.2 MB, free: 3.098 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/0.5882, allocations: 7.953 kB / 477.2 MB, free: 3.09 MB / 363.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.01272/0.601, allocations: 1.686 MB / 478.9 MB, free: 1.391 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.517e-05/0.6011, allocations: 8 kB / 478.9 MB, free: 1.383 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.6011, allocations: 0 / 478.9 MB, free: 1.383 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01184/0.6129, allocations: 1.156 MB / 480 MB, free: 228 kB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008128/0.6138, allocations: 99.84 kB / 480.1 MB, free: 128 kB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02159/0.6354, allocations: 5.639 MB / 485.8 MB, free: 10.36 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/0.6366, allocations: 35.83 kB / 485.8 MB, free: 10.32 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.109e-05/0.6367, allocations: 23.98 kB / 485.8 MB, free: 10.3 MB / 379.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.transformer.core.port_p.V_m:DUMMY_DER(flow=false fixed = false ) "Magnetic potential at the port" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 30} Notification: Performance of prepare postOptimizeDAE: time 0.0003123/0.637, allocations: 124.8 kB / 485.9 MB, free: 10.17 MB / 379.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002002/0.6372, allocations: 63.31 kB / 486 MB, free: 10.11 MB / 379.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00223/0.6395, allocations: 0.701 MB / 486.7 MB, free: 9.395 MB / 379.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/0.6395, allocations: 8 kB / 486.7 MB, free: 9.387 MB / 379.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.6395, allocations: 4 kB / 486.7 MB, free: 9.383 MB / 379.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.6395, allocations: 3.984 kB / 486.7 MB, free: 9.379 MB / 379.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005458/0.645, allocations: 1.703 MB / 488.4 MB, free: 7.629 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.6451, allocations: 6.062 kB / 488.4 MB, free: 7.625 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.6462, allocations: 111.9 kB / 488.5 MB, free: 7.516 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002886/0.6491, allocations: 328.5 kB / 488.8 MB, free: 7.191 MB / 379.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.455e-05/0.6492, allocations: 7.984 kB / 488.9 MB, free: 7.184 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0114/0.6606, allocations: 2.724 MB / 491.6 MB, free: 4.34 MB / 379.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.737e-06/0.6607, allocations: 0 / 491.6 MB, free: 4.34 MB / 379.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004427/0.6651, allocations: 1.224 MB / 492.8 MB, free: 3.09 MB / 379.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005833/0.6657, allocations: 204.3 kB / 493 MB, free: 2.871 MB / 379.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/0.6659, allocations: 4 kB / 493 MB, free: 2.867 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.667, allocations: 43.92 kB / 493.1 MB, free: 2.824 MB / 379.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002039/0.6672, allocations: 48.48 kB / 493.1 MB, free: 2.777 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.302e-05/0.6673, allocations: 16 kB / 493.1 MB, free: 2.762 MB / 379.1 MB Notification: Performance of sorting global known variables: time 0.0006795/0.668, allocations: 343 kB / 493.4 MB, free: 2.43 MB / 379.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.668, allocations: 0 / 493.4 MB, free: 2.43 MB / 379.1 MB Notification: Performance of remove unused functions: time 0.00137/0.6694, allocations: 196.1 kB / 493.6 MB, free: 2.238 MB / 379.1 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.Phi,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete 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.0004563/0.6699, allocations: 155 kB / 493.8 MB, free: 2.078 MB / 379.1 MB Notification: Performance of simCode: created initialization part: time 0.002245/0.6721, allocations: 0.7616 MB / 494.6 MB, free: 1.305 MB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.6722, allocations: 0 / 494.6 MB, free: 1.305 MB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001135/0.6733, allocations: 471.9 kB / 495 MB, free: 0.8359 MB / 379.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008257/0.6741, allocations: 56.36 kB / 495.1 MB, free: 0.7812 MB / 379.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003465/0.6776, allocations: 1.107 MB / 496.2 MB, free: 15.64 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006445/0.6783, allocations: 0.9274 MB / 497.1 MB, free: 14.69 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003534/0.6787, allocations: 39.42 kB / 497.1 MB, free: 14.65 MB / 395.1 MB Notification: Performance of SimCode: time 1.583e-06/0.6787, allocations: 4 kB / 497.1 MB, free: 14.64 MB / 395.1 MB Notification: Performance of Templates: time 0.02476/0.7035, allocations: 10.9 MB / 0.4961 GB, free: 3.777 MB / 395.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches