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.001377/0.001377, allocations: 119.8 kB / 18.45 MB, free: 4.457 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.001374/0.001374, allocations: 190.9 kB / 21.39 MB, free: 1.52 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.505/1.505, allocations: 207.6 MB / 231.8 MB, free: 4.223 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.001777/0.001777, allocations: 55.92 kB / 342.3 MB, free: 10.05 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1192, allocations: 49.12 MB / 391.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.00626/0.1254, allocations: 4.322 MB / 395.7 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003274/0.1287, allocations: 1.641 MB / 397.3 MB, free: 2.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003844/0.1291, allocations: 8 kB / 397.3 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004207/0.1295, allocations: 126.7 kB / 397.5 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008668/0.1304, allocations: 369.6 kB / 397.8 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00045/0.1308, allocations: 235.6 kB / 398.1 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009908/0.1318, allocations: 0.9744 MB / 399 MB, free: 1.066 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002951/0.1321, allocations: 169.4 kB / 399.2 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004915/0.1326, allocations: 374.7 kB / 399.6 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000519/0.1331, allocations: 426.3 kB / 400 MB, free: 112 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.1333, allocations: 96 kB / 400.1 MB, free: 16 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000393/0.1337, allocations: 211.9 kB / 400.3 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001829/0.1339, allocations: 199.3 kB / 400.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004022/0.1343, allocations: 418.1 kB / 400.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001329/0.1356, allocations: 1.16 MB / 402 MB, free: 14.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1356, allocations: 4 kB / 402.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1356, allocations: 7.875 kB / 402.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.1356, allocations: 0 / 402.1 MB, free: 14.03 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.002528/0.1381, allocations: 1.121 MB / 403.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.1382, allocations: 11.89 kB / 403.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001733/0.1384, allocations: 98.7 kB / 403.3 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/0.1385, allocations: 76.47 kB / 403.4 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008682/0.1394, allocations: 0.5188 MB / 403.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.1395, allocations: 79.56 kB / 404 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001968/0.1397, allocations: 64.3 kB / 404 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.1408, allocations: 0.602 MB / 404.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.1408, allocations: 3.938 kB / 404.6 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.022e-05/0.1409, allocations: 27.98 kB / 404.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.1409, allocations: 19.98 kB / 404.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.142, allocations: 0.5205 MB / 405.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003519/0.1455, allocations: 2.284 MB / 407.5 MB, free: 8.375 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009609/0.1465, allocations: 458.2 kB / 407.9 MB, free: 7.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005337/0.147, allocations: 250 kB / 408.2 MB, free: 7.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.1471, allocations: 16.22 kB / 408.2 MB, free: 7.645 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.453e-05/0.1471, allocations: 42.44 kB / 408.2 MB, free: 7.594 MB / 334.1 MB Notification: Performance of pre-optimization done (n=45): time 2.124e-06/0.1471, allocations: 0 / 408.2 MB, free: 7.594 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.01282/0.1599, allocations: 3.56 MB / 411.8 MB, free: 3.938 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/0.16, allocations: 85.67 kB / 411.9 MB, free: 3.836 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008169/0.1608, allocations: 0.5331 MB / 412.4 MB, free: 3.293 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.532e-05/0.1609, allocations: 37.7 kB / 412.4 MB, free: 3.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002664/0.1611, allocations: 320.9 kB / 412.8 MB, free: 2.934 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000216/0.1614, allocations: 222.1 kB / 413 MB, free: 2.715 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002368/0.1616, allocations: 118.3 kB / 413.1 MB, free: 2.594 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002199/0.1618, allocations: 362.8 kB / 413.4 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005836/0.1624, allocations: 253.2 kB / 413.7 MB, free: 1.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006434/0.163, allocations: 344.4 kB / 414 MB, free: 1.613 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/0.1644, allocations: 0.6097 MB / 414.6 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1644, allocations: 0 / 414.6 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0016/0.166, allocations: 0.7493 MB / 415.4 MB, free: 216 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.166, allocations: 11.91 kB / 415.4 MB, free: 204 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.1661, allocations: 3.984 kB / 415.4 MB, free: 200 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000196/0.1662, allocations: 28.84 kB / 415.4 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008053/0.1671, allocations: 167.9 kB / 415.6 MB, free: 0 / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.1686, allocations: 1.436 MB / 417 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006095/0.1692, allocations: 35.97 kB / 417.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.502e-05/0.1692, allocations: 27.98 kB / 417.1 MB, free: 14.36 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.0003458/0.1696, allocations: 201.7 kB / 417.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.1697, allocations: 63.56 kB / 417.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00195/0.1717, allocations: 0.8528 MB / 418.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.1717, allocations: 11.94 kB / 418.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.1717, allocations: 0 / 418.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.1717, allocations: 0 / 418.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004136/0.1758, allocations: 1.834 MB / 420 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.1758, allocations: 0 / 420 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005722/0.1764, allocations: 111.8 kB / 420.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002392/0.1788, allocations: 472.3 kB / 420.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.062e-05/0.1789, allocations: 15.98 kB / 420.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005898/0.1848, allocations: 3.15 MB / 423.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.1848, allocations: 4.031 kB / 423.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00341/0.1882, allocations: 1.356 MB / 425.1 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004191/0.1886, allocations: 220.7 kB / 425.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.905e-05/0.1887, allocations: 16 kB / 425.4 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005961/0.1893, allocations: 43.95 kB / 425.4 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.1894, allocations: 44.5 kB / 425.5 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.717e-05/0.1895, allocations: 23.92 kB / 425.5 MB, free: 5.699 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006156/0.1901, allocations: 386.9 kB / 425.9 MB, free: 5.324 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1901, allocations: 4 kB / 425.9 MB, free: 5.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008029/0.1909, allocations: 187.9 kB / 426 MB, free: 5.137 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.003781/0.1947, allocations: 1.943 MB / 428 MB, free: 3.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00168/0.1964, allocations: 0.7012 MB / 428.7 MB, free: 2.445 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1964, allocations: 0 / 428.7 MB, free: 2.445 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009737/0.1973, allocations: 0.51 MB / 429.2 MB, free: 1.926 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008022/0.1981, allocations: 97.75 kB / 429.3 MB, free: 1.828 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/0.2089, allocations: 5.921 MB / 435.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006572/0.2095, allocations: 0.9003 MB / 436.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004114/0.2099, allocations: 72.8 kB / 436.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004225/0.2103, allocations: 243.3 kB / 436.4 MB, free: 10.51 MB / 366.1 MB Notification: Performance of SimCode: time 1.543e-06/0.2103, allocations: 0 / 436.4 MB, free: 10.51 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07622/0.2866, allocations: 15.85 MB / 452.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/13.7, allocations: 3.859 kB / 452.3 MB, free: 10.58 MB / 382.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2_fmu --startTime=0 --stopTime=0.1 --stepSize=2e-05 --timeout=50 --tolerance=0.0001 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.78331736801192]