Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001259/0.001259, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008498/0.0008496, allocations: 86.7 kB / 262.4 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.922e-05/1.923e-05, allocations: 3.984 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08988/0.08992, allocations: 47.58 MB / 363.1 MB, free: 7.062 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3368/0.4268, allocations: 89.56 MB / 452.6 MB, free: 6.16 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.4271, allocations: 83.33 kB / 452.7 MB, free: 6.117 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04274/0.4699, allocations: 15.32 MB / 468 MB, free: 9.586 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4699, allocations: 0 / 468 MB, free: 9.586 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.225e-05/0.47, allocations: 12 kB / 468.1 MB, free: 9.574 MB / 346.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.001604/0.4716, allocations: 0.8664 MB / 468.9 MB, free: 8.703 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.4716, allocations: 8.031 kB / 468.9 MB, free: 8.695 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.4718, allocations: 79.06 kB / 469 MB, free: 8.617 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007359/0.4725, allocations: 499.6 kB / 469.5 MB, free: 8.195 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.705e-05/0.4726, allocations: 51.02 kB / 469.5 MB, free: 8.137 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001974/0.4728, allocations: 43.98 kB / 469.6 MB, free: 8.094 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007806/0.4737, allocations: 446.7 kB / 470 MB, free: 7.832 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008254/0.4745, allocations: 0.4924 MB / 470.5 MB, free: 7.465 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.4745, allocations: 4 kB / 470.5 MB, free: 7.461 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.816e-05/0.4746, allocations: 0 / 470.5 MB, free: 7.461 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.4746, allocations: 12 kB / 470.5 MB, free: 7.449 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003114/0.4777, allocations: 2.223 MB / 472.8 MB, free: 5.672 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005392/0.4783, allocations: 424.3 kB / 473.2 MB, free: 5.398 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003201/0.4786, allocations: 217.6 kB / 473.4 MB, free: 5.266 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.493e-05/0.4787, allocations: 11.98 kB / 473.4 MB, free: 5.254 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.4787, allocations: 34.5 kB / 473.4 MB, free: 5.215 MB / 346.7 MB Notification: Performance of pre-optimization done (n=45): time 1.743e-06/0.4787, allocations: 0 / 473.4 MB, free: 5.215 MB / 346.7 MB Notification: Performance of matching and sorting (n=61): time 0.008014/0.4867, allocations: 2.544 MB / 476 MB, free: 3.102 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.4868, allocations: 89.3 kB / 476.1 MB, free: 2.996 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005195/0.4873, allocations: 436.8 kB / 476.5 MB, free: 2.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.438e-05/0.4874, allocations: 25.7 kB / 476.5 MB, free: 2.648 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.4875, allocations: 312.1 kB / 476.8 MB, free: 2.422 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.4877, allocations: 208.8 kB / 477 MB, free: 2.238 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.4877, allocations: 0 / 477 MB, free: 2.238 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.4879, allocations: 361.2 kB / 477.4 MB, free: 1.898 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003075/0.4882, allocations: 212 kB / 477.6 MB, free: 1.789 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003597/0.4885, allocations: 299.7 kB / 477.9 MB, free: 1.574 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003785/0.4889, allocations: 245.3 kB / 478.1 MB, free: 1.438 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.4889, allocations: 3.953 kB / 478.1 MB, free: 1.434 MB / 346.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.006584/0.4955, allocations: 1.727 MB / 479.8 MB, free: 0 / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.66e-05/0.4956, allocations: 4.047 kB / 479.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.4956, allocations: 4 kB / 479.9 MB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005912/0.5015, allocations: 1.154 MB / 481 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004398/0.502, allocations: 91.84 kB / 481.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01228/0.5143, allocations: 5.659 MB / 486.8 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007921/0.5151, allocations: 36.03 kB / 486.8 MB, free: 9.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.971e-05/0.5152, allocations: 23.98 kB / 486.8 MB, free: 9.387 MB / 362.7 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.0002912/0.5155, allocations: 120.8 kB / 486.9 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.5156, allocations: 55.34 kB / 487 MB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001394/0.517, allocations: 0.7048 MB / 487.7 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.5171, allocations: 8 kB / 487.7 MB, free: 8.484 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.5171, allocations: 3.984 kB / 487.7 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.5171, allocations: 0 / 487.7 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003211/0.5203, allocations: 1.696 MB / 489.4 MB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.5203, allocations: 0 / 489.4 MB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005693/0.5209, allocations: 119.8 kB / 489.5 MB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001533/0.5224, allocations: 332.5 kB / 489.8 MB, free: 6.293 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.514e-05/0.5225, allocations: 11.98 kB / 489.9 MB, free: 6.281 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004094/0.5266, allocations: 2.725 MB / 492.6 MB, free: 3.434 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.5266, allocations: 0 / 492.6 MB, free: 3.434 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002203/0.5288, allocations: 1.22 MB / 493.8 MB, free: 2.188 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003066/0.5292, allocations: 212.2 kB / 494 MB, free: 1.961 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.847e-05/0.5293, allocations: 0 / 494 MB, free: 1.961 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006005/0.5299, allocations: 43.91 kB / 494 MB, free: 1.918 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.53, allocations: 44.5 kB / 494.1 MB, free: 1.875 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-05/0.53, allocations: 23.98 kB / 494.1 MB, free: 1.852 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004242/0.5305, allocations: 339 kB / 494.4 MB, free: 1.523 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5305, allocations: 0 / 494.4 MB, free: 1.523 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009586/0.5314, allocations: 192.1 kB / 494.6 MB, free: 1.336 MB / 362.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.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.0003201/0.5318, allocations: 163.6 kB / 494.8 MB, free: 1.168 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001366/0.5332, allocations: 0.7645 MB / 495.6 MB, free: 400 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.5332, allocations: 0 / 495.6 MB, free: 400 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000694/0.5339, allocations: 479.4 kB / 496 MB, free: 15.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005104/0.5344, allocations: 50.5 kB / 496.1 MB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.5366, allocations: 1.063 MB / 497.1 MB, free: 14.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004954/0.5371, allocations: 0.9235 MB / 498.1 MB, free: 13.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002895/0.5374, allocations: 60.53 kB / 498.1 MB, free: 13.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.5376, allocations: 43.42 kB / 498.2 MB, free: 13.72 MB / 378.7 MB Notification: Performance of SimCode: time 3.5e-07/0.5376, allocations: 0 / 498.2 MB, free: 13.72 MB / 378.7 MB Notification: Performance of Templates: time 0.01796/0.5556, allocations: 10.81 MB / 0.497 GB, free: 2.902 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins/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_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches