Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.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.0009714/0.0009714, 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.005353/0.005353, allocations: 162.2 kB / 24.69 MB, free: 8.895 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.827/0.827, 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.Electrical.MultiPhase.Examples.TransformerYD,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYD,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 298.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.894e-05/2.057e-05, allocations: 2.281 kB / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.004603/0.004623, allocations: 3.416 MB / 301.8 MB, free: 88 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.132/0.1367, allocations: 1.017 MB / 302.9 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.1369, allocations: 23.22 kB / 302.9 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003087/0.1372, allocations: 165.4 kB / 303 MB, free: 13.13 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008204/0.138, allocations: 312.1 kB / 303.3 MB, free: 13.05 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.1383, allocations: 144.1 kB / 303.5 MB, free: 13.05 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001068/0.1394, allocations: 1.495 MB / 305 MB, free: 12.48 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006792/0.14, allocations: 0.5932 MB / 305.6 MB, free: 12.2 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000934/0.141, allocations: 0.9329 MB / 306.5 MB, free: 11.82 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009619/0.1419, allocations: 0.7139 MB / 307.2 MB, free: 11.59 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001721/0.1421, allocations: 159.6 kB / 307.4 MB, free: 11.59 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.1423, allocations: 158.4 kB / 307.5 MB, free: 11.59 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003036/0.1426, allocations: 489.7 kB / 308 MB, free: 11.34 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004162/0.143, allocations: 0.5179 MB / 308.5 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001697/0.1447, allocations: 2.101 MB / 310.6 MB, free: 10.45 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.1447, allocations: 1.719 kB / 310.6 MB, free: 10.45 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1447, allocations: 1.188 kB / 310.6 MB, free: 10.45 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.503e-05/0.1448, allocations: 0 / 310.6 MB, free: 10.45 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002262/0.147, allocations: 1.623 MB / 312.3 MB, free: 9.496 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.1471, allocations: 14.2 kB / 312.3 MB, free: 9.492 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001614/0.1472, allocations: 178.4 kB / 312.4 MB, free: 9.379 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001845/0.1474, allocations: 147.2 kB / 312.6 MB, free: 9.305 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009226/0.1484, allocations: 0.7943 MB / 313.4 MB, free: 8.859 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.42e-05/0.1484, allocations: 84 kB / 313.5 MB, free: 8.82 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.1485, allocations: 110 kB / 313.6 MB, free: 8.785 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001924/0.1504, allocations: 1.721 MB / 315.3 MB, free: 7.973 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.1505, allocations: 1.062 kB / 315.3 MB, free: 7.973 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.816e-05/0.1505, allocations: 45.56 kB / 315.3 MB, free: 7.938 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/0.1505, allocations: 31.25 kB / 315.4 MB, free: 7.934 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/0.1521, allocations: 1.325 MB / 316.7 MB, free: 7.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004412/0.1565, allocations: 3.885 MB / 320.6 MB, free: 4.984 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006444/0.1571, allocations: 0.6277 MB / 321.2 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005378/0.1577, allocations: 0.4917 MB / 321.7 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.1577, allocations: 7.969 kB / 321.7 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.1577, allocations: 38.75 kB / 321.7 MB, free: 4.352 MB / 282.7 MB Notification: Performance of pre-optimization done (n=51): time 2.745e-06/0.1577, allocations: 0 / 321.7 MB, free: 4.352 MB / 282.7 MB Notification: Performance of matching and sorting (n=51): time 0.0009444/0.1587, allocations: 0.8771 MB / 322.6 MB, free: 3.902 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.1587, allocations: 62 kB / 322.7 MB, free: 3.836 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007482/0.1595, allocations: 0.8363 MB / 323.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.1595, allocations: 35.95 kB / 323.6 MB, free: 3.324 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.1597, allocations: 0.5544 MB / 324.1 MB, free: 2.836 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.095e-05/0.1598, allocations: 180.8 kB / 324.3 MB, free: 2.684 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.1599, allocations: 102.1 kB / 324.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.386e-05/0.1599, allocations: 388.2 kB / 324.8 MB, free: 2.254 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002911/0.1602, allocations: 305 kB / 325.1 MB, free: 2.102 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003159/0.1605, allocations: 396 kB / 325.5 MB, free: 1.844 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000546/0.1611, allocations: 0.6861 MB / 326.1 MB, free: 1.438 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.1611, allocations: 0 / 326.1 MB, free: 1.438 MB / 282.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007257/0.1618, allocations: 0.8222 MB / 327 MB, free: 1.008 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.1618, allocations: 10.67 kB / 327 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.1618, allocations: 5.344 kB / 327 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.1619, allocations: 5.312 kB / 327 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/0.1622, allocations: 152.5 kB / 327.1 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.1622, allocations: 4.781 kB / 327.1 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002645/0.1625, allocations: 64.06 kB / 327.2 MB, free: 0.918 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/0.1625, allocations: 17.75 kB / 327.2 MB, free: 0.9141 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004515/0.1629, allocations: 464.5 kB / 327.7 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.233e-05/0.163, allocations: 80.44 kB / 327.7 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.123e-05/0.1631, allocations: 89.52 kB / 327.8 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.1631, allocations: 5.25 kB / 327.8 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.1631, allocations: 0 / 327.8 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1631, allocations: 3.984 kB / 327.8 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/0.1649, allocations: 1.835 MB / 329.7 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1649, allocations: 3.938 kB / 329.7 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002653/0.1652, allocations: 119.9 kB / 329.8 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.1652, allocations: 4 kB / 329.8 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.1652, allocations: 12.88 kB / 329.8 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.1652, allocations: 4 kB / 329.8 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.175e-06/0.1652, allocations: 3.938 kB / 329.8 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000959/0.1662, allocations: 1.128 MB / 330.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.1663, allocations: 103.4 kB / 331.1 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.999e-05/0.1664, allocations: 12 kB / 331.1 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.1666, allocations: 55.94 kB / 331.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.931e-05/0.1666, allocations: 37.25 kB / 331.2 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.1667, allocations: 19.98 kB / 331.2 MB, free: 13.35 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004862/0.1671, allocations: 0.5965 MB / 331.8 MB, free: 12.76 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1671, allocations: 0 / 331.8 MB, free: 12.76 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005433/0.1677, allocations: 279.1 kB / 332 MB, free: 12.48 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (transformerL.inductor[1].i,transformerL.inductor[2].i,transformerL.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001155/0.1688, allocations: 1.69 MB / 333.7 MB, free: 10.75 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006249/0.1695, allocations: 0.6229 MB / 334.4 MB, free: 10.13 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1695, allocations: 0 / 334.4 MB, free: 10.13 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002704/0.1697, allocations: 319.3 kB / 334.7 MB, free: 9.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005515/0.1703, allocations: 186.2 kB / 334.8 MB, free: 9.652 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007986/0.1783, allocations: 8.516 MB / 343.4 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004917/0.1788, allocations: 0.7484 MB / 344.1 MB, free: 172 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003566/0.1791, allocations: 209.8 kB / 344.3 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003408/0.1795, allocations: 388.4 kB / 344.7 MB, free: 15.58 MB / 314.7 MB Notification: Performance of SimCode: time 1.182e-06/0.1795, allocations: 0 / 344.7 MB, free: 15.58 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03078/0.2102, allocations: 20.59 MB / 365.3 MB, free: 10.93 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.481/7.691, allocations: 7.891 kB / 365.3 MB, free: 10.92 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.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: 9.2597126821056]