Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) 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) 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_4.0.0_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_4.0.0_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.000893/0.0008931, allocations: 86.97 kB / 16.31 MB, free: 6.453 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.0008491/0.0008493, allocations: 183.8 kB / 17.21 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 223.3 MB / 241.2 MB, free: 5.258 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002503/0.0002504, allocations: 6.438 kB / 300.8 MB, free: 5.422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09764/0.0979, allocations: 50.42 MB / 351.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.003718/0.1017, allocations: 2.923 MB / 354.2 MB, free: 8.465 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00255/0.1042, allocations: 1.369 MB / 355.5 MB, free: 7.09 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003897/0.1047, allocations: 7.938 kB / 355.5 MB, free: 7.082 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002279/0.107, allocations: 1.715 MB / 357.3 MB, free: 5.363 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004906/0.1075, allocations: 127.1 kB / 357.4 MB, free: 5.238 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000733/0.1082, allocations: 254.4 kB / 357.6 MB, free: 4.992 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001811/0.11, allocations: 1.399 MB / 359 MB, free: 3.59 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000272/0.1103, allocations: 106.7 kB / 359.1 MB, free: 3.477 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005594/0.1109, allocations: 283.1 kB / 359.4 MB, free: 3.199 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005445/0.1114, allocations: 303 kB / 359.7 MB, free: 2.902 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001529/0.1116, allocations: 24 kB / 359.7 MB, free: 2.879 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000267/0.1119, allocations: 59.97 kB / 359.8 MB, free: 2.82 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000711/0.1126, allocations: 0.8298 MB / 360.6 MB, free: 1.988 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000404/0.113, allocations: 384.3 kB / 361 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0016/0.1146, allocations: 2.089 MB / 363.1 MB, free: 15.51 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1146, allocations: 0 / 363.1 MB, free: 15.51 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1146, allocations: 0 / 363.1 MB, free: 15.51 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.1147, allocations: 4 kB / 363.1 MB, free: 15.51 MB / 302.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.002942/0.1176, allocations: 2.434 MB / 365.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.1176, allocations: 8.031 kB / 365.5 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000271/0.1179, allocations: 288.3 kB / 365.8 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001992/0.1199, allocations: 1.693 MB / 367.5 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.585e-05/0.12, allocations: 54.7 kB / 367.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.1202, allocations: 43.98 kB / 367.6 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006801/0.1209, allocations: 391 kB / 368 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.1209, allocations: 4 kB / 368 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.805e-05/0.1209, allocations: 19.95 kB / 368 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.1209, allocations: 12 kB / 368 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006629/0.1216, allocations: 327.7 kB / 368.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003487/0.1251, allocations: 2.922 MB / 371.3 MB, free: 7.094 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005839/0.1257, allocations: 317.2 kB / 371.6 MB, free: 6.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003028/0.126, allocations: 169.5 kB / 371.7 MB, free: 6.598 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.234e-05/0.1261, allocations: 8 kB / 371.7 MB, free: 6.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.1261, allocations: 50.42 kB / 371.8 MB, free: 6.531 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.734e-06/0.1261, allocations: 0 / 371.8 MB, free: 6.531 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.004333/0.1305, allocations: 2.406 MB / 374.2 MB, free: 4.055 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.1305, allocations: 85.5 kB / 374.3 MB, free: 3.949 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005596/0.1361, allocations: 5.435 MB / 379.7 MB, free: 14.51 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.1362, allocations: 37.7 kB / 379.8 MB, free: 14.46 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001071/0.1373, allocations: 1.207 MB / 381 MB, free: 13.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.1374, allocations: 169.5 kB / 381.1 MB, free: 13.09 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.3e-05/0.1374, allocations: 12 kB / 381.1 MB, free: 13.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.1375, allocations: 330 kB / 381.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002979/0.1378, allocations: 137.1 kB / 381.6 MB, free: 12.61 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003444/0.1382, allocations: 225.6 kB / 381.8 MB, free: 12.37 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000336/0.1385, allocations: 164.8 kB / 382 MB, free: 12.21 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1385, allocations: 0 / 382 MB, free: 12.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00104/0.1396, allocations: 0.6801 MB / 382.7 MB, free: 11.52 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.1396, allocations: 8 kB / 382.7 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1396, allocations: 0 / 382.7 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.1397, allocations: 4.25 kB / 382.7 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004958/0.1402, allocations: 127.8 kB / 382.8 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.1402, allocations: 7.953 kB / 382.8 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003632/0.1406, allocations: 23.89 kB / 382.8 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.879e-05/0.1406, allocations: 16 kB / 382.8 MB, free: 11.34 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009402/0.1415, allocations: 0.923 MB / 383.8 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002775/0.1418, allocations: 268.5 kB / 384 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/0.1432, allocations: 0.798 MB / 384.8 MB, free: 9.332 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.1432, allocations: 7.938 kB / 384.8 MB, free: 9.324 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1432, allocations: 0 / 384.8 MB, free: 9.324 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.1432, allocations: 3.984 kB / 384.8 MB, free: 9.32 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.1447, allocations: 1.477 MB / 386.3 MB, free: 7.793 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.1448, allocations: 0 / 386.3 MB, free: 7.793 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004318/0.1452, allocations: 95.88 kB / 386.4 MB, free: 7.699 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003252/0.1455, allocations: 88.77 kB / 386.5 MB, free: 7.609 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.1456, allocations: 19.98 kB / 386.5 MB, free: 7.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005136/0.1461, allocations: 0.6266 MB / 387.1 MB, free: 6.938 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1461, allocations: 3.953 kB / 387.1 MB, free: 6.934 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.1476, allocations: 1.081 MB / 388.2 MB, free: 5.828 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006228/0.1483, allocations: 0.4897 MB / 388.7 MB, free: 5.316 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/0.1485, allocations: 12 kB / 388.7 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004205/0.1489, allocations: 19.98 kB / 388.7 MB, free: 5.285 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.427e-05/0.149, allocations: 32.34 kB / 388.8 MB, free: 5.254 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-05/0.149, allocations: 15.98 kB / 388.8 MB, free: 5.238 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.004369/0.1534, allocations: 3.981 MB / 392.8 MB, free: 1.266 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1534, allocations: 3.938 kB / 392.8 MB, free: 1.262 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006742/0.1541, allocations: 204 kB / 393 MB, free: 1.062 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 (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 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009238/0.155, allocations: 422.3 kB / 393.4 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007556/0.1558, allocations: 376.8 kB / 393.8 MB, free: 440 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1558, allocations: 0 / 393.8 MB, free: 440 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004207/0.1562, allocations: 214.9 kB / 394 MB, free: 228 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009415/0.1572, allocations: 183.3 kB / 394.1 MB, free: 40 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007184/0.1643, allocations: 5.939 MB / 400.1 MB, free: 10.06 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001552/0.1659, allocations: 1.814 MB / 401.9 MB, free: 8.211 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005689/0.1665, allocations: 267.6 kB / 402.2 MB, free: 7.945 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002532/0.1668, allocations: 95.42 kB / 402.2 MB, free: 7.852 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1668, allocations: 0 / 402.2 MB, free: 7.852 MB / 334.1 MB Notification: Performance of Templates: time 0.03078/0.1976, allocations: 13.91 MB / 416.2 MB, free: 9.992 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches