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.001377/0.001377, allocations: 116.9 kB / 18.45 MB, free: 4.609 MB / 14.72 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.001496/0.001496, allocations: 216.3 kB / 21.41 MB, free: 1.648 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.493/1.493, allocations: 207.6 MB / 231.8 MB, free: 4.086 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.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 52.56 kB / 342.3 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1115, allocations: 49.13 MB / 391.4 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005977/0.1175, allocations: 4.326 MB / 395.7 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002997/0.1205, allocations: 1.645 MB / 397.4 MB, free: 2.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003114/0.1208, allocations: 11.94 kB / 397.4 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003919/0.1212, allocations: 130.7 kB / 397.5 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007926/0.122, allocations: 369.6 kB / 397.9 MB, free: 2.203 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004145/0.1224, allocations: 227.7 kB / 398.1 MB, free: 1.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001027/0.1234, allocations: 0.986 MB / 399.1 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003074/0.1237, allocations: 165.4 kB / 399.3 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004843/0.1242, allocations: 378.8 kB / 399.6 MB, free: 464 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005248/0.1248, allocations: 426.2 kB / 400 MB, free: 36 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001408/0.1249, allocations: 96.05 kB / 400.1 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003894/0.1253, allocations: 219.8 kB / 400.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001789/0.1255, allocations: 199.3 kB / 400.5 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003976/0.1259, allocations: 418.1 kB / 400.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.1272, allocations: 1.164 MB / 402.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.1272, allocations: 3.938 kB / 402.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.496e-06/0.1272, allocations: 4 kB / 402.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.1272, allocations: 0 / 402.1 MB, free: 13.95 MB / 334.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.002742/0.13, allocations: 1.117 MB / 403.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.13, allocations: 11.89 kB / 403.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001386/0.1302, allocations: 102.7 kB / 403.4 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/0.1303, allocations: 80.47 kB / 403.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008984/0.1312, allocations: 0.5149 MB / 403.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.1313, allocations: 67.58 kB / 404 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002605/0.1316, allocations: 72.3 kB / 404.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.1329, allocations: 0.6058 MB / 404.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.1329, allocations: 0 / 404.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.134e-05/0.1329, allocations: 20 kB / 404.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.873e-05/0.133, allocations: 16 kB / 404.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.1342, allocations: 0.5282 MB / 405.2 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003817/0.138, allocations: 2.287 MB / 407.5 MB, free: 8.297 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.139, allocations: 454.2 kB / 408 MB, free: 7.836 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005495/0.1396, allocations: 258 kB / 408.2 MB, free: 7.578 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/0.1396, allocations: 7.938 kB / 408.2 MB, free: 7.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.1397, allocations: 42.5 kB / 408.3 MB, free: 7.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=45): time 2.645e-06/0.1397, allocations: 0 / 408.3 MB, free: 7.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.01395/0.1536, allocations: 3.552 MB / 411.8 MB, free: 3.871 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.224e-05/0.1537, allocations: 89.66 kB / 411.9 MB, free: 3.766 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009213/0.1546, allocations: 0.537 MB / 412.5 MB, free: 3.219 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.77e-05/0.1547, allocations: 37.7 kB / 412.5 MB, free: 3.176 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000276/0.1549, allocations: 317 kB / 412.8 MB, free: 2.863 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002211/0.1552, allocations: 218.1 kB / 413 MB, free: 2.648 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002349/0.1554, allocations: 118.3 kB / 413.1 MB, free: 2.527 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002134/0.1556, allocations: 366.8 kB / 413.5 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006076/0.1562, allocations: 245.1 kB / 413.7 MB, free: 1.918 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007073/0.1569, allocations: 348.4 kB / 414.1 MB, free: 1.547 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.1582, allocations: 0.6059 MB / 414.7 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.1582, allocations: 0 / 414.7 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001653/0.1599, allocations: 0.7413 MB / 415.4 MB, free: 160 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.1599, allocations: 8 kB / 415.4 MB, free: 152 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.1599, allocations: 0 / 415.4 MB, free: 152 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001902/0.1601, allocations: 45.02 kB / 415.5 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008464/0.1609, allocations: 167.8 kB / 415.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/0.1622, allocations: 1.44 MB / 417.1 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000596/0.1628, allocations: 35.98 kB / 417.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.276e-05/0.1629, allocations: 28.05 kB / 417.1 MB, free: 14.29 MB / 350.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.0003193/0.1632, allocations: 201.7 kB / 417.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.1634, allocations: 67.61 kB / 417.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002015/0.1654, allocations: 0.8334 MB / 418.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.1654, allocations: 15.88 kB / 418.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.1654, allocations: 0 / 418.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.1654, allocations: 3.984 kB / 418.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004097/0.1695, allocations: 1.834 MB / 420.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.1695, allocations: 0 / 420.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005857/0.1701, allocations: 108 kB / 420.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002461/0.1725, allocations: 476.3 kB / 420.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.593e-05/0.1726, allocations: 12 kB / 420.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005645/0.1782, allocations: 3.162 MB / 423.8 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.1782, allocations: 0 / 423.8 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003174/0.1814, allocations: 1.363 MB / 425.2 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003819/0.1818, allocations: 216.7 kB / 425.4 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.1819, allocations: 16 kB / 425.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006118/0.1825, allocations: 39.97 kB / 425.5 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.1827, allocations: 48.48 kB / 425.5 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-05/0.1827, allocations: 20 kB / 425.5 MB, free: 5.637 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005585/0.1833, allocations: 390.9 kB / 425.9 MB, free: 5.258 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1833, allocations: 0 / 425.9 MB, free: 5.258 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007664/0.184, allocations: 187.9 kB / 426.1 MB, free: 5.074 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.003716/0.1878, allocations: 1.946 MB / 428 MB, free: 3.098 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001681/0.1894, allocations: 0.6973 MB / 428.7 MB, free: 2.387 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/0.1894, allocations: 4.625 kB / 428.7 MB, free: 2.383 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.1905, allocations: 0.5093 MB / 429.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008576/0.1914, allocations: 97.86 kB / 429.3 MB, free: 1.766 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/0.2015, allocations: 5.917 MB / 435.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006098/0.2021, allocations: 0.9042 MB / 436.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003481/0.2025, allocations: 72.8 kB / 436.2 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004101/0.2029, allocations: 239.3 kB / 436.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of SimCode: time 1.242e-06/0.2029, allocations: 4 kB / 436.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05218/0.2551, allocations: 15.85 MB / 452.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/13.37, allocations: 0 / 452.3 MB, free: 10.52 MB / 382.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/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/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: 16.312215849000495]