Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009899/0.0009899, allocations: 94.89 kB / 17.3 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 178.6 kB / 18.21 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.336/1.336, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004363/0.0004364, allocations: 8 kB / 281.4 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08439/0.08484, allocations: 47.58 MB / 329 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.003579/0.08847, allocations: 2.994 MB / 332 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002094/0.09059, allocations: 1.369 MB / 333.3 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001622/0.09077, allocations: 4 kB / 333.3 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002093/0.09287, allocations: 1.852 MB / 335.2 MB, free: 13.5 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003713/0.09326, allocations: 147.1 kB / 335.3 MB, free: 13.36 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005863/0.09385, allocations: 259.6 kB / 335.6 MB, free: 13.11 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0016/0.09546, allocations: 1.69 MB / 337.3 MB, free: 11.41 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002068/0.09568, allocations: 115.9 kB / 337.4 MB, free: 11.29 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000329/0.09602, allocations: 285 kB / 337.7 MB, free: 11.01 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003654/0.0964, allocations: 286.9 kB / 337.9 MB, free: 10.73 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.57e-05/0.09648, allocations: 24 kB / 338 MB, free: 10.71 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.09662, allocations: 55.97 kB / 338 MB, free: 10.65 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005744/0.0972, allocations: 0.8257 MB / 338.8 MB, free: 9.824 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006448/0.09786, allocations: 0.9051 MB / 339.8 MB, free: 8.906 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001726/0.09959, allocations: 2.491 MB / 342.2 MB, free: 6.406 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.09961, allocations: 0 / 342.2 MB, free: 6.406 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.09962, allocations: 0 / 342.2 MB, free: 6.406 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.797e-05/0.09964, allocations: 0 / 342.2 MB, free: 6.406 MB / 286.1 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.00294/0.1026, allocations: 2.419 MB / 344.7 MB, free: 3.926 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.1026, allocations: 8.031 kB / 344.7 MB, free: 3.918 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002869/0.1029, allocations: 281.3 kB / 344.9 MB, free: 3.641 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002061/0.105, allocations: 1.812 MB / 346.8 MB, free: 1.77 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.787e-05/0.1051, allocations: 63.19 kB / 346.8 MB, free: 1.703 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/0.1053, allocations: 47.94 kB / 346.9 MB, free: 1.656 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006912/0.106, allocations: 399 kB / 347.3 MB, free: 1.254 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.106, allocations: 0 / 347.3 MB, free: 1.254 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.908e-05/0.106, allocations: 12 kB / 347.3 MB, free: 1.242 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.1061, allocations: 8 kB / 347.3 MB, free: 1.234 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006884/0.1068, allocations: 343.7 kB / 347.6 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003493/0.1103, allocations: 2.915 MB / 350.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006039/0.1109, allocations: 309 kB / 350.8 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003134/0.1112, allocations: 173.5 kB / 351 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/0.1112, allocations: 4 kB / 351 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.1113, allocations: 47.09 kB / 351 MB, free: 13.33 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.473e-06/0.1113, allocations: 0 / 351 MB, free: 13.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.004323/0.1156, allocations: 2.381 MB / 353.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.1157, allocations: 85.55 kB / 353.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005536/0.1212, allocations: 5.431 MB / 358.9 MB, free: 5.344 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.214e-05/0.1213, allocations: 33.7 kB / 359 MB, free: 5.305 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009974/0.1223, allocations: 1.211 MB / 360.2 MB, free: 4.09 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.1224, allocations: 173.5 kB / 360.4 MB, free: 3.918 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.056e-05/0.1225, allocations: 45.7 kB / 360.4 MB, free: 3.867 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.572e-05/0.1226, allocations: 329.9 kB / 360.7 MB, free: 3.539 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003175/0.1229, allocations: 137.1 kB / 360.9 MB, free: 3.406 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003468/0.1233, allocations: 229.6 kB / 361.1 MB, free: 3.152 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006692/0.1239, allocations: 388.3 kB / 361.5 MB, free: 2.746 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.124, allocations: 0 / 361.5 MB, free: 2.746 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00105/0.125, allocations: 0.684 MB / 362.1 MB, free: 2.051 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.125, allocations: 4 kB / 362.1 MB, free: 2.047 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.1251, allocations: 4 kB / 362.1 MB, free: 2.043 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.1251, allocations: 4 kB / 362.2 MB, free: 2.039 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004901/0.1256, allocations: 132 kB / 362.3 MB, free: 1.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.1256, allocations: 7.984 kB / 362.3 MB, free: 1.902 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003865/0.126, allocations: 23.84 kB / 362.3 MB, free: 1.879 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.599e-05/0.126, allocations: 23.98 kB / 362.3 MB, free: 1.855 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009494/0.127, allocations: 0.9153 MB / 363.3 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002829/0.1273, allocations: 264.5 kB / 363.5 MB, free: 0.668 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/0.1286, allocations: 0.7747 MB / 364.3 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.1287, allocations: 8 kB / 364.3 MB, free: 15.88 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1287, allocations: 0 / 364.3 MB, free: 15.88 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.1287, allocations: 3.984 kB / 364.3 MB, free: 15.88 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.1303, allocations: 1.469 MB / 365.8 MB, free: 14.35 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1303, allocations: 4 kB / 365.8 MB, free: 14.35 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004329/0.1308, allocations: 99.88 kB / 365.9 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003011/0.1311, allocations: 92.69 kB / 366 MB, free: 14.16 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.1311, allocations: 12 kB / 366 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005188/0.1316, allocations: 0.6344 MB / 366.6 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1317, allocations: 0 / 366.6 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.1332, allocations: 1.073 MB / 367.7 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006584/0.1339, allocations: 497.5 kB / 368.2 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/0.1341, allocations: 12 kB / 368.2 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004489/0.1345, allocations: 23.98 kB / 368.2 MB, free: 11.85 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.518e-05/0.1346, allocations: 24.41 kB / 368.2 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.1346, allocations: 19.98 kB / 368.2 MB, free: 11.8 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.004372/0.139, allocations: 3.97 MB / 372.2 MB, free: 7.844 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.139, allocations: 0 / 372.2 MB, free: 7.844 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006983/0.1397, allocations: 208 kB / 372.4 MB, free: 7.641 MB / 318.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009728/0.1407, allocations: 417.1 kB / 372.8 MB, free: 7.234 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007971/0.1415, allocations: 392.8 kB / 373.2 MB, free: 6.848 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1415, allocations: 0 / 373.2 MB, free: 6.848 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004369/0.142, allocations: 214.9 kB / 373.4 MB, free: 6.641 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.1431, allocations: 191.3 kB / 373.6 MB, free: 6.449 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007227/0.1504, allocations: 6.152 MB / 379.8 MB, free: 268 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1738/0.3242, allocations: 1.811 MB / 381.6 MB, free: 50.64 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006255/0.3248, allocations: 277.2 kB / 381.8 MB, free: 50.62 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002754/0.3251, allocations: 90.27 kB / 381.9 MB, free: 50.62 MB / 318.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3251, allocations: 0 / 381.9 MB, free: 50.62 MB / 318.1 MB Notification: Performance of Templates: time 0.02966/0.3548, allocations: 14.19 MB / 396.1 MB, free: 46.05 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches