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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.005589/0.005589, allocations: 162.6 kB / 24.69 MB, free: 9.402 MB / 18.57 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 0.8386/0.8386, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.253e-05/1.402e-05, allocations: 2.281 kB / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.13/0.13, allocations: 3.884 MB / 302.3 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.1321, allocations: 1.553 MB / 303.9 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002469/0.1324, allocations: 11.66 kB / 303.9 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002917/0.1326, allocations: 125.9 kB / 304 MB, free: 13.01 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006024/0.1332, allocations: 378.2 kB / 304.4 MB, free: 12.88 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000302/0.1335, allocations: 230.3 kB / 304.6 MB, free: 12.79 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005825/0.1341, allocations: 1 MB / 305.6 MB, free: 12.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002018/0.1343, allocations: 157.9 kB / 305.8 MB, free: 12.2 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004266/0.1348, allocations: 0.5534 MB / 306.3 MB, free: 11.95 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003335/0.1351, allocations: 326.6 kB / 306.6 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.467e-05/0.1352, allocations: 96.38 kB / 306.7 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000257/0.1354, allocations: 208.3 kB / 306.9 MB, free: 11.84 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.1356, allocations: 198.6 kB / 307.1 MB, free: 11.71 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001998/0.1358, allocations: 295.3 kB / 307.4 MB, free: 11.58 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.1368, allocations: 1.22 MB / 308.6 MB, free: 11.15 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1368, allocations: 0 / 308.6 MB, free: 11.15 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1368, allocations: 4 kB / 308.6 MB, free: 11.15 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.1368, allocations: 0 / 308.6 MB, free: 11.15 MB / 282.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.001405/0.1382, allocations: 1.037 MB / 309.7 MB, free: 10.48 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.1382, allocations: 14.61 kB / 309.7 MB, free: 10.48 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.251e-05/0.1383, allocations: 99.03 kB / 309.8 MB, free: 10.4 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.617e-05/0.1384, allocations: 80.19 kB / 309.9 MB, free: 10.36 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005344/0.1389, allocations: 465 kB / 310.3 MB, free: 10.03 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.402e-05/0.139, allocations: 130 kB / 310.4 MB, free: 9.914 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.1391, allocations: 62.33 kB / 310.5 MB, free: 9.898 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007402/0.1399, allocations: 0.7054 MB / 311.2 MB, free: 9.496 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.1399, allocations: 0 / 311.2 MB, free: 9.496 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.552e-05/0.1399, allocations: 29.56 kB / 311.2 MB, free: 9.473 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/0.1399, allocations: 14.66 kB / 311.3 MB, free: 9.473 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007481/0.1407, allocations: 0.5199 MB / 311.8 MB, free: 9.289 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002122/0.1428, allocations: 2.064 MB / 313.8 MB, free: 7.895 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006427/0.1435, allocations: 458.7 kB / 314.3 MB, free: 7.676 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003525/0.1438, allocations: 246.8 kB / 314.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.1438, allocations: 10.33 kB / 314.5 MB, free: 7.566 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.1439, allocations: 37.31 kB / 314.6 MB, free: 7.523 MB / 282.7 MB Notification: Performance of pre-optimization done (n=45): time 1.442e-06/0.1439, allocations: 1.375 kB / 314.6 MB, free: 7.523 MB / 282.7 MB Notification: Performance of matching and sorting (n=61): time 0.007291/0.1512, allocations: 3.32 MB / 317.9 MB, free: 6.348 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.1512, allocations: 91.5 kB / 318 MB, free: 6.246 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007047/0.1519, allocations: 0.5356 MB / 318.5 MB, free: 5.98 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.905e-05/0.1519, allocations: 36.2 kB / 318.6 MB, free: 5.941 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.1521, allocations: 321.7 kB / 318.9 MB, free: 5.68 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.1522, allocations: 219.1 kB / 319.1 MB, free: 5.504 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.1524, allocations: 115.8 kB / 319.2 MB, free: 5.441 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.531e-05/0.1525, allocations: 365.5 kB / 319.5 MB, free: 5.105 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003858/0.1528, allocations: 243.2 kB / 319.8 MB, free: 5.016 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003954/0.1532, allocations: 349.9 kB / 320.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007673/0.154, allocations: 0.6031 MB / 320.7 MB, free: 4.418 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.154, allocations: 5.797 kB / 320.7 MB, free: 4.414 MB / 282.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001028/0.155, allocations: 0.7408 MB / 321.5 MB, free: 4.02 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.1551, allocations: 10.19 kB / 321.5 MB, free: 4.016 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.1551, allocations: 2.719 kB / 321.5 MB, free: 4.016 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001384/0.1552, allocations: 28.72 kB / 321.5 MB, free: 4 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004458/0.1557, allocations: 181.9 kB / 321.7 MB, free: 3.941 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005911/0.1562, allocations: 1.32 MB / 323 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002775/0.1565, allocations: 37.59 kB / 323.1 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.678e-05/0.1566, allocations: 28.23 kB / 323.1 MB, free: 2.582 MB / 282.7 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.0001827/0.1567, allocations: 201.9 kB / 323.3 MB, free: 2.406 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.088e-05/0.1568, allocations: 60.53 kB / 323.3 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/0.1579, allocations: 0.8405 MB / 324.2 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.1579, allocations: 7.344 kB / 324.2 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.1579, allocations: 0 / 324.2 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.1579, allocations: 8.797 kB / 324.2 MB, free: 1.871 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002141/0.1601, allocations: 1.66 MB / 325.9 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.1601, allocations: 1.375 kB / 325.9 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/0.1603, allocations: 108.9 kB / 326 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001115/0.1615, allocations: 483.3 kB / 326.4 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.378e-05/0.1615, allocations: 15.53 kB / 326.4 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003077/0.1646, allocations: 2.988 MB / 329.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1646, allocations: 0.625 kB / 329.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.1664, allocations: 1.368 MB / 330.8 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001953/0.1666, allocations: 129.6 kB / 330.9 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.962e-05/0.1666, allocations: 13.42 kB / 330.9 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002861/0.1669, allocations: 50.72 kB / 331 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.167, allocations: 45.28 kB / 331 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.269e-05/0.167, allocations: 25.89 kB / 331.1 MB, free: 13.13 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006307/0.1677, allocations: 388.4 kB / 331.4 MB, free: 12.9 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1677, allocations: 0 / 331.4 MB, free: 12.9 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005135/0.1682, allocations: 190.3 kB / 331.6 MB, free: 12.88 MB / 298.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.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.002046/0.1702, allocations: 1.955 MB / 333.6 MB, free: 10.92 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009402/0.1712, allocations: 0.7031 MB / 334.3 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1712, allocations: 0 / 334.3 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000545/0.1717, allocations: 0.5066 MB / 334.8 MB, free: 9.684 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004617/0.1722, allocations: 99.2 kB / 334.9 MB, free: 9.594 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006316/0.1785, allocations: 5.85 MB / 340.7 MB, free: 3.586 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.1787, allocations: 303.2 kB / 341 MB, free: 3.266 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002059/0.1789, allocations: 72.8 kB / 341.1 MB, free: 3.195 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002633/0.1792, allocations: 240.4 kB / 341.3 MB, free: 2.961 MB / 298.7 MB Notification: Performance of SimCode: time 1.082e-06/0.1792, allocations: 0 / 341.3 MB, free: 2.961 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02969/0.2089, allocations: 16.5 MB / 357.8 MB, free: 2.387 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.257/8.466, allocations: 4.062 kB / 357.8 MB, free: 2.383 MB / 314.7 MB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.289604810997844]