Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.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.0008623/0.0008623, allocations: 87.62 kB / 21.43 MB, free: 3.121 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.005166/0.005166, allocations: 165.2 kB / 24.7 MB, free: 9.434 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.8635/0.8635, allocations: 158.6 MB / 186.5 MB, free: 3.031 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.TransformerYY,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.251e-06/6.251e-06, allocations: 0 / 298.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.597e-05, allocations: 2.281 kB / 298.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.003283/0.003308, allocations: 3.412 MB / 301.8 MB, free: 96 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1278/0.1312, allocations: 0.9696 MB / 302.8 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002058/0.1314, allocations: 22.53 kB / 302.8 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002713/0.1316, allocations: 156.1 kB / 303 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000627/0.1323, allocations: 302.8 kB / 303.3 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.1325, allocations: 143 kB / 303.4 MB, free: 13.06 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008923/0.1334, allocations: 1.451 MB / 304.9 MB, free: 12.55 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005756/0.134, allocations: 0.5739 MB / 305.4 MB, free: 12.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008143/0.1348, allocations: 0.9115 MB / 306.4 MB, free: 11.9 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007655/0.1355, allocations: 0.7058 MB / 307.1 MB, free: 11.67 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.1357, allocations: 156.1 kB / 307.2 MB, free: 11.67 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001731/0.1358, allocations: 160.5 kB / 307.4 MB, free: 11.66 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002716/0.1361, allocations: 473.6 kB / 307.8 MB, free: 11.43 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003853/0.1365, allocations: 0.5076 MB / 308.3 MB, free: 11.21 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.1379, allocations: 2.07 MB / 310.4 MB, free: 10.55 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.1379, allocations: 0 / 310.4 MB, free: 10.55 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1379, allocations: 0.6562 kB / 310.4 MB, free: 10.55 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.789e-05/0.1379, allocations: 0.5938 kB / 310.4 MB, free: 10.55 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.001905/0.1398, allocations: 1.604 MB / 312 MB, free: 9.605 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.1399, allocations: 14.3 kB / 312 MB, free: 9.602 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001572/0.14, allocations: 176.5 kB / 312.2 MB, free: 9.488 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.1402, allocations: 146.3 kB / 312.3 MB, free: 9.414 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008619/0.1411, allocations: 0.7753 MB / 313.1 MB, free: 8.98 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.163e-05/0.1411, allocations: 83.22 kB / 313.2 MB, free: 8.941 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.1412, allocations: 109.3 kB / 313.3 MB, free: 8.906 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.143, allocations: 1.691 MB / 315 MB, free: 8.105 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.143, allocations: 1.469 kB / 315 MB, free: 8.105 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.578e-05/0.143, allocations: 44.91 kB / 315 MB, free: 8.07 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/0.1431, allocations: 26.91 kB / 315.1 MB, free: 8.07 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/0.1444, allocations: 1.311 MB / 316.4 MB, free: 7.617 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003866/0.1483, allocations: 3.795 MB / 320.2 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000625/0.1489, allocations: 0.6052 MB / 320.8 MB, free: 4.906 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004661/0.1494, allocations: 439.8 kB / 321.2 MB, free: 4.684 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.1494, allocations: 14.69 kB / 321.2 MB, free: 4.676 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.1495, allocations: 39.09 kB / 321.3 MB, free: 4.629 MB / 282.7 MB Notification: Performance of pre-optimization done (n=49): time 2.024e-06/0.1495, allocations: 0 / 321.3 MB, free: 4.629 MB / 282.7 MB Notification: Performance of matching and sorting (n=51): time 0.002218/0.1517, allocations: 1.88 MB / 323.1 MB, free: 3.512 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.1517, allocations: 57.47 kB / 323.2 MB, free: 3.449 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007991/0.1525, allocations: 0.8298 MB / 324 MB, free: 2.98 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.1525, allocations: 31.95 kB / 324.1 MB, free: 2.945 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.1527, allocations: 0.5568 MB / 324.6 MB, free: 2.453 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.797e-05/0.1528, allocations: 177.1 kB / 324.8 MB, free: 2.305 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.1529, allocations: 107 kB / 324.9 MB, free: 2.238 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.156e-05/0.153, allocations: 388.1 kB / 325.3 MB, free: 1.871 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002955/0.1533, allocations: 303.5 kB / 325.6 MB, free: 1.719 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002904/0.1536, allocations: 406.8 kB / 326 MB, free: 1.453 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005517/0.1541, allocations: 0.6921 MB / 326.7 MB, free: 1.035 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1541, allocations: 0 / 326.7 MB, free: 1.035 MB / 282.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008958/0.155, allocations: 0.9157 MB / 327.6 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.155, allocations: 6.875 kB / 327.6 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.155, allocations: 1.375 kB / 327.6 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002058/0.1552, allocations: 117.4 kB / 327.7 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003024/0.1555, allocations: 124.2 kB / 327.8 MB, free: 460 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001528/0.1571, allocations: 2.247 MB / 330.1 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002724/0.1573, allocations: 27.97 kB / 330.1 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.1574, allocations: 16.88 kB / 330.1 MB, free: 14.36 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005085/0.1579, allocations: 463.4 kB / 330.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.241e-05/0.158, allocations: 79.47 kB / 330.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.247e-05/0.158, allocations: 91.08 kB / 330.7 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.158, allocations: 4 kB / 330.7 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.158, allocations: 0 / 330.7 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.158, allocations: 11.98 kB / 330.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/0.16, allocations: 1.887 MB / 332.6 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.16, allocations: 4 kB / 332.6 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/0.1602, allocations: 92.69 kB / 332.7 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001498/0.1603, allocations: 106.6 kB / 332.8 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.1603, allocations: 19.98 kB / 332.8 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/0.1616, allocations: 2.202 MB / 335.1 MB, free: 9.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1616, allocations: 0 / 335.1 MB, free: 9.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.1627, allocations: 1.199 MB / 336.2 MB, free: 7.996 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.1628, allocations: 95.53 kB / 336.3 MB, free: 7.902 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.82e-05/0.1628, allocations: 14.91 kB / 336.4 MB, free: 7.891 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.163, allocations: 48.02 kB / 336.4 MB, free: 7.844 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.741e-05/0.1631, allocations: 44.41 kB / 336.4 MB, free: 7.801 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.1631, allocations: 19.94 kB / 336.5 MB, free: 7.781 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004941/0.1636, allocations: 0.5849 MB / 337.1 MB, free: 7.203 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1636, allocations: 0 / 337.1 MB, free: 7.203 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005399/0.1641, allocations: 212 kB / 337.3 MB, free: 6.996 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (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 (43): * Single equations (assignments): 42 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001237/0.1654, allocations: 1.744 MB / 339 MB, free: 5.203 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008351/0.1662, allocations: 0.8014 MB / 339.8 MB, free: 4.391 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1662, allocations: 4 kB / 339.8 MB, free: 4.387 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004357/0.1667, allocations: 477.2 kB / 340.3 MB, free: 3.906 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005537/0.1672, allocations: 171.9 kB / 340.4 MB, free: 3.746 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007966/0.1752, allocations: 8.651 MB / 349.1 MB, free: 10.9 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005012/0.1757, allocations: 0.7408 MB / 349.8 MB, free: 10.12 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003011/0.176, allocations: 181.8 kB / 350 MB, free: 9.945 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003347/0.1763, allocations: 376.4 kB / 350.4 MB, free: 9.578 MB / 314.7 MB Notification: Performance of SimCode: time 1.132e-06/0.1763, allocations: 4 kB / 350.4 MB, free: 9.574 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03238/0.2087, allocations: 21.03 MB / 371.4 MB, free: 4.48 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.368/7.577, allocations: 15.84 kB / 371.4 MB, free: 4.465 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.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.216651836410165]