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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008809/0.000881, allocations: 98.25 kB / 17.3 MB, free: 6.344 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.0008282/0.0008283, allocations: 178.5 kB / 18.2 MB, free: 5.531 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.338/1.338, allocations: 205.4 MB / 224.4 MB, free: 13.06 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.000445/0.0004452, allocations: 8 kB / 281.4 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0871/0.08755, allocations: 47.58 MB / 329 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.004416/0.09201, allocations: 3.925 MB / 332.9 MB, free: 15.81 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002648/0.09469, allocations: 1.618 MB / 334.5 MB, free: 14.18 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002409/0.09494, allocations: 11.94 kB / 334.5 MB, free: 14.17 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003044/0.09526, allocations: 91.3 kB / 334.6 MB, free: 14.08 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009236/0.09619, allocations: 310.4 kB / 334.9 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005796/0.09679, allocations: 207.8 kB / 335.1 MB, free: 13.57 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009047/0.09771, allocations: 0.916 MB / 336 MB, free: 12.65 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003761/0.0981, allocations: 210.2 kB / 336.2 MB, free: 12.45 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003664/0.09847, allocations: 310.7 kB / 336.5 MB, free: 12.14 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004192/0.0989, allocations: 378.2 kB / 336.9 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.598e-05/0.09899, allocations: 40 kB / 336.9 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003018/0.0993, allocations: 163.9 kB / 337.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.09942, allocations: 143.3 kB / 337.2 MB, free: 11.43 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003305/0.09976, allocations: 379.8 kB / 337.6 MB, free: 11.05 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001262/0.101, allocations: 1.086 MB / 338.7 MB, free: 9.961 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.101, allocations: 0 / 338.7 MB, free: 9.961 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1011, allocations: 0 / 338.7 MB, free: 9.961 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.1011, allocations: 4 kB / 338.7 MB, free: 9.957 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002186/0.1033, allocations: 0.9781 MB / 339.7 MB, free: 8.926 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.1033, allocations: 8.031 kB / 339.7 MB, free: 8.918 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.1034, allocations: 80 kB / 339.8 MB, free: 8.84 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007056/0.1042, allocations: 0.5106 MB / 340.3 MB, free: 8.289 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.745e-05/0.1043, allocations: 71.56 kB / 340.4 MB, free: 8.215 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001975/0.1045, allocations: 72.48 kB / 340.4 MB, free: 8.145 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.1056, allocations: 0.6058 MB / 341 MB, free: 7.52 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.1057, allocations: 7.984 kB / 341 MB, free: 7.512 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.986e-05/0.1057, allocations: 20 kB / 341.1 MB, free: 7.492 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.1057, allocations: 12 kB / 341.1 MB, free: 7.48 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.1069, allocations: 0.5399 MB / 341.6 MB, free: 6.938 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003351/0.1102, allocations: 2.334 MB / 343.9 MB, free: 4.492 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009881/0.1112, allocations: 493.2 kB / 344.4 MB, free: 3.992 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005378/0.1118, allocations: 274.1 kB / 344.7 MB, free: 3.719 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.1118, allocations: 8 kB / 344.7 MB, free: 3.711 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.1119, allocations: 38.56 kB / 344.7 MB, free: 3.664 MB / 286.1 MB Notification: Performance of pre-optimization done (n=45): time 1.964e-06/0.1119, allocations: 0 / 344.7 MB, free: 3.664 MB / 286.1 MB Notification: Performance of matching and sorting (n=61): time 0.01321/0.1251, allocations: 3.703 MB / 348.4 MB, free: 15.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.1252, allocations: 81.67 kB / 348.5 MB, free: 15.76 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007025/0.1259, allocations: 0.537 MB / 349.1 MB, free: 15.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.732e-05/0.1259, allocations: 33.7 kB / 349.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002332/0.1262, allocations: 324.2 kB / 349.4 MB, free: 14.86 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.1263, allocations: 205 kB / 349.6 MB, free: 14.65 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.255e-05/0.1264, allocations: 53.69 kB / 349.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1266, allocations: 366.8 kB / 350 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005767/0.1272, allocations: 261.2 kB / 350.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006318/0.1278, allocations: 352.4 kB / 350.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/0.1291, allocations: 0.6292 MB / 351.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1291, allocations: 0 / 351.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001595/0.1307, allocations: 0.7646 MB / 352 MB, free: 12.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.1307, allocations: 11.98 kB / 352 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.1307, allocations: 4 kB / 352 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001743/0.1309, allocations: 32.83 kB / 352.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007955/0.1317, allocations: 167.8 kB / 352.2 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009702/0.1327, allocations: 1.337 MB / 353.6 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005858/0.1333, allocations: 35.98 kB / 353.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.992e-05/0.1333, allocations: 36.05 kB / 353.6 MB, free: 10.4 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 75 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002734/0.1336, allocations: 201.6 kB / 353.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.1338, allocations: 55.34 kB / 353.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001834/0.1356, allocations: 0.8725 MB / 354.8 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.637e-06/0.1356, allocations: 8 kB / 354.8 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.1356, allocations: 4 kB / 354.8 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.1356, allocations: 3.984 kB / 354.8 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003765/0.1394, allocations: 1.886 MB / 356.7 MB, free: 7.293 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.1394, allocations: 4 kB / 356.7 MB, free: 7.289 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005222/0.14, allocations: 115.8 kB / 356.8 MB, free: 7.176 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002558/0.1425, allocations: 0.4999 MB / 357.3 MB, free: 6.676 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.716e-05/0.1426, allocations: 19.98 kB / 357.3 MB, free: 6.656 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004915/0.1475, allocations: 2.951 MB / 360.2 MB, free: 3.574 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1475, allocations: 0 / 360.2 MB, free: 3.574 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003054/0.1506, allocations: 1.413 MB / 361.7 MB, free: 2.141 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002897/0.1509, allocations: 208.3 kB / 361.9 MB, free: 1.918 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.704e-05/0.151, allocations: 12 kB / 361.9 MB, free: 1.906 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006215/0.1516, allocations: 51.97 kB / 361.9 MB, free: 1.855 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.1518, allocations: 48.52 kB / 362 MB, free: 1.809 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.68e-05/0.1518, allocations: 31.91 kB / 362 MB, free: 1.777 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004774/0.1523, allocations: 386.9 kB / 362.4 MB, free: 1.402 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1523, allocations: 0 / 362.4 MB, free: 1.402 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000705/0.153, allocations: 184 kB / 362.6 MB, free: 1.223 MB / 302.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.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 (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 {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003093/0.1533, allocations: 151.2 kB / 362.7 MB, free: 1.066 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001493/0.1548, allocations: 0.7443 MB / 363.4 MB, free: 320 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1549, allocations: 0.5 kB / 363.5 MB, free: 320 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009174/0.1558, allocations: 0.5367 MB / 364 MB, free: 15.76 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000733/0.1565, allocations: 90.05 kB / 364.1 MB, free: 15.67 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002803/0.1593, allocations: 1.861 MB / 365.9 MB, free: 13.78 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004757/0.1598, allocations: 0.8968 MB / 366.8 MB, free: 12.85 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000341/0.1602, allocations: 68.81 kB / 366.9 MB, free: 12.78 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.1604, allocations: 59.41 kB / 367 MB, free: 12.72 MB / 318.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1604, allocations: 3.938 kB / 367 MB, free: 12.72 MB / 318.1 MB Notification: Performance of Templates: time 0.01617/0.1766, allocations: 9.559 MB / 376.5 MB, free: 3.16 MB / 318.1 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