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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 114.3 kB / 18.4 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001845/0.001845, allocations: 190.9 kB / 21.34 MB, free: 1.738 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.1 MB / 229.2 MB, free: 4.355 MB / 174.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002276/0.002277, allocations: 55.34 kB / 334.7 MB, free: 14.72 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1132, allocations: 46.62 MB / 381.3 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005998/0.1193, allocations: 4.295 MB / 385.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003051/0.1224, allocations: 1.629 MB / 387.3 MB, free: 11.01 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000415/0.1228, allocations: 8 kB / 387.3 MB, free: 11 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004605/0.1233, allocations: 138.7 kB / 387.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009618/0.1243, allocations: 357.6 kB / 387.8 MB, free: 10.51 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000513/0.1248, allocations: 235.7 kB / 388 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001123/0.1259, allocations: 0.9783 MB / 389 MB, free: 9.301 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004/0.1264, allocations: 241.4 kB / 389.2 MB, free: 9.059 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005198/0.1269, allocations: 374.7 kB / 389.6 MB, free: 8.691 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005473/0.1274, allocations: 422.3 kB / 390 MB, free: 8.277 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001335/0.1276, allocations: 100 kB / 390.1 MB, free: 8.18 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003995/0.128, allocations: 219.8 kB / 390.3 MB, free: 7.965 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001802/0.1282, allocations: 199.3 kB / 390.5 MB, free: 7.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000391/0.1286, allocations: 410.1 kB / 390.9 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.13, allocations: 1.164 MB / 392.1 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.1301, allocations: 0 / 392.1 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1301, allocations: 3.938 kB / 392.1 MB, free: 6.195 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.896e-05/0.1301, allocations: 4 kB / 392.1 MB, free: 6.191 MB / 318.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.002496/0.1326, allocations: 1.121 MB / 393.2 MB, free: 5.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.1326, allocations: 11.89 kB / 393.2 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001328/0.1328, allocations: 102.7 kB / 393.3 MB, free: 4.898 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.133, allocations: 80.47 kB / 393.4 MB, free: 4.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009118/0.1339, allocations: 0.5188 MB / 393.9 MB, free: 4.258 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.134, allocations: 71.58 kB / 394 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002092/0.1342, allocations: 68.3 kB / 394 MB, free: 4.117 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.1354, allocations: 0.602 MB / 394.6 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.1355, allocations: 0 / 394.6 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.742e-05/0.1355, allocations: 20 kB / 394.7 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.491e-05/0.1356, allocations: 16 kB / 394.7 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.1367, allocations: 0.5282 MB / 395.2 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003649/0.1404, allocations: 2.287 MB / 397.5 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.1415, allocations: 474.4 kB / 397.9 MB, free: 60 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006164/0.1421, allocations: 270.1 kB / 398.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.093e-05/0.1422, allocations: 7.984 kB / 398.2 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.95e-05/0.1423, allocations: 50.38 kB / 398.3 MB, free: 15.72 MB / 334.1 MB Notification: Performance of pre-optimization done (n=45): time 2.334e-06/0.1423, allocations: 4 kB / 398.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.01291/0.1552, allocations: 3.552 MB / 401.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.776e-05/0.1553, allocations: 93.61 kB / 401.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007683/0.1561, allocations: 0.537 MB / 402.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.928e-05/0.1561, allocations: 37.7 kB / 402.5 MB, free: 11.37 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002704/0.1564, allocations: 313 kB / 402.8 MB, free: 11.06 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002124/0.1566, allocations: 222.1 kB / 403 MB, free: 10.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/0.1569, allocations: 118.3 kB / 403.1 MB, free: 10.72 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002172/0.1571, allocations: 366.8 kB / 403.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006072/0.1577, allocations: 245.2 kB / 403.7 MB, free: 10.11 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006762/0.1584, allocations: 352.4 kB / 404.1 MB, free: 9.738 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.1596, allocations: 0.598 MB / 404.7 MB, free: 9.105 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1596, allocations: 0 / 404.7 MB, free: 9.105 MB / 334.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001643/0.1613, allocations: 0.7494 MB / 405.4 MB, free: 8.348 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.1613, allocations: 11.94 kB / 405.4 MB, free: 8.336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.1613, allocations: 4 kB / 405.4 MB, free: 8.332 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001784/0.1615, allocations: 28.84 kB / 405.5 MB, free: 8.301 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008055/0.1623, allocations: 167.8 kB / 405.6 MB, free: 8.137 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001305/0.1637, allocations: 1.44 MB / 407.1 MB, free: 6.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005525/0.1642, allocations: 40.05 kB / 407.1 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.627e-05/0.1643, allocations: 27.98 kB / 407.1 MB, free: 6.484 MB / 334.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.0003373/0.1647, allocations: 201.7 kB / 407.3 MB, free: 6.277 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.1648, allocations: 63.56 kB / 407.4 MB, free: 6.215 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001961/0.1668, allocations: 0.8489 MB / 408.2 MB, free: 5.359 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.1668, allocations: 11.94 kB / 408.2 MB, free: 5.348 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.1668, allocations: 0 / 408.2 MB, free: 5.348 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.1668, allocations: 11.98 kB / 408.3 MB, free: 5.336 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003717/0.1705, allocations: 1.838 MB / 410.1 MB, free: 3.438 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1706, allocations: 0 / 410.1 MB, free: 3.438 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005122/0.1711, allocations: 107.9 kB / 410.2 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002254/0.1733, allocations: 476.2 kB / 410.7 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.987e-05/0.1734, allocations: 16 kB / 410.7 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005402/0.1788, allocations: 3.15 MB / 413.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1788, allocations: 0 / 413.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0032/0.1821, allocations: 1.371 MB / 415.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003843/0.1825, allocations: 220.6 kB / 415.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.1826, allocations: 8 kB / 415.4 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006155/0.1832, allocations: 43.97 kB / 415.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.1834, allocations: 48.5 kB / 415.5 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.215e-05/0.1834, allocations: 23.98 kB / 415.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005436/0.184, allocations: 386.9 kB / 415.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.184, allocations: 0 / 415.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007371/0.1847, allocations: 183.9 kB / 416.1 MB, free: 13.25 MB / 350.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.003586/0.1883, allocations: 1.958 MB / 418.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001634/0.19, allocations: 0.7327 MB / 418.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.19, allocations: 0 / 418.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009866/0.191, allocations: 0.5249 MB / 419.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007063/0.1917, allocations: 94.3 kB / 419.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/0.2019, allocations: 5.925 MB / 425.3 MB, free: 3.805 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006485/0.2026, allocations: 0.9081 MB / 426.2 MB, free: 2.871 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003359/0.2029, allocations: 60.83 kB / 426.3 MB, free: 2.809 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004002/0.2033, allocations: 243.3 kB / 426.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2034, allocations: 0 / 426.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05263/0.256, allocations: 15.76 MB / 442.3 MB, free: 2.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.08, allocations: 4.297 kB / 442.3 MB, free: 2.727 MB / 366.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 2e-05 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable transformer.core.Hstat in file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.csv. Warning: Get data of variable transformer.core.Hstat from file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.921071532997303]