Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.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.001297/0.001297, allocations: 71.75 kB / 21.24 MB, free: 404 kB / 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.002302/0.002302, allocations: 168.8 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.522/1.522, allocations: 177.2 MB / 204.9 MB, free: 9.047 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 47.5 kB / 325.6 MB, free: 280 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09772/0.09925, allocations: 53.34 MB / 378.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005326/0.1046, allocations: 3.477 MB / 382.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.1066, allocations: 1.036 MB / 383.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002089/0.1068, allocations: 31.75 kB / 383.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003374/0.1071, allocations: 158.8 kB / 383.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008068/0.1079, allocations: 314.3 kB / 383.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.1082, allocations: 131.8 kB / 384 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00145/0.1096, allocations: 1.42 MB / 385.5 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008738/0.1105, allocations: 0.6435 MB / 386.1 MB, free: 8.418 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007159/0.1112, allocations: 0.6659 MB / 386.8 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.1123, allocations: 0.794 MB / 387.6 MB, free: 6.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002142/0.1125, allocations: 167.9 kB / 387.7 MB, free: 6.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002926/0.1128, allocations: 168 kB / 387.9 MB, free: 6.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004501/0.1133, allocations: 466.7 kB / 388.3 MB, free: 6.168 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006726/0.1139, allocations: 0.6145 MB / 389 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001972/0.1159, allocations: 2.094 MB / 391.1 MB, free: 3.449 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1159, allocations: 0 / 391.1 MB, free: 3.449 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1159, allocations: 0 / 391.1 MB, free: 3.449 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.907e-05/0.1159, allocations: 0 / 391.1 MB, free: 3.449 MB / 350.1 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.002935/0.1189, allocations: 1.658 MB / 392.7 MB, free: 1.754 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.1189, allocations: 8.031 kB / 392.7 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004994/0.1194, allocations: 184 kB / 392.9 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/0.121, allocations: 0.8475 MB / 393.7 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.675e-05/0.1211, allocations: 90.38 kB / 393.8 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/0.1212, allocations: 112 kB / 393.9 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002618/0.1239, allocations: 1.723 MB / 395.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.1239, allocations: 0 / 395.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.124, allocations: 51.94 kB / 395.7 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.598e-05/0.124, allocations: 32 kB / 395.8 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002269/0.1263, allocations: 1.328 MB / 397.1 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006363/0.1326, allocations: 3.725 MB / 400.8 MB, free: 9.422 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009672/0.1336, allocations: 0.6199 MB / 401.4 MB, free: 8.793 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009192/0.1345, allocations: 0.5065 MB / 401.9 MB, free: 8.285 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.1346, allocations: 4.5 kB / 401.9 MB, free: 8.281 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.1346, allocations: 39.06 kB / 402 MB, free: 8.234 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.435e-06/0.1346, allocations: 0 / 402 MB, free: 8.234 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.001558/0.1362, allocations: 0.8829 MB / 402.9 MB, free: 7.344 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.1362, allocations: 59.91 kB / 402.9 MB, free: 7.273 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.1372, allocations: 0.8008 MB / 403.7 MB, free: 6.461 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.253e-05/0.1373, allocations: 33.7 kB / 403.7 MB, free: 6.422 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00042/0.1377, allocations: 0.5623 MB / 404.3 MB, free: 5.852 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.1379, allocations: 186.4 kB / 404.5 MB, free: 5.668 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.138, allocations: 102.3 kB / 404.6 MB, free: 5.562 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.1382, allocations: 390.7 kB / 405 MB, free: 5.172 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004839/0.1387, allocations: 301.1 kB / 405.3 MB, free: 4.879 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005544/0.1393, allocations: 399.3 kB / 405.7 MB, free: 4.457 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.1403, allocations: 0.6895 MB / 406.3 MB, free: 3.738 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1403, allocations: 0 / 406.3 MB, free: 3.738 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001309/0.1416, allocations: 0.825 MB / 407.2 MB, free: 2.902 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1417, allocations: 8 kB / 407.2 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1417, allocations: 0 / 407.2 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.1417, allocations: 8 kB / 407.2 MB, free: 2.887 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006369/0.1423, allocations: 143.8 kB / 407.3 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.1423, allocations: 8 kB / 407.3 MB, free: 2.738 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003623/0.1427, allocations: 59.59 kB / 407.4 MB, free: 2.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.31e-05/0.1427, allocations: 27.88 kB / 407.4 MB, free: 2.652 MB / 366.1 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.0006134/0.1434, allocations: 465.9 kB / 407.9 MB, free: 2.188 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.1435, allocations: 75.53 kB / 407.9 MB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001503/0.1436, allocations: 91.08 kB / 408 MB, free: 2.023 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.1436, allocations: 8 kB / 408 MB, free: 2.016 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1436, allocations: 0 / 408 MB, free: 2.016 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/0.1437, allocations: 3.984 kB / 408.1 MB, free: 2.012 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002835/0.1465, allocations: 1.685 MB / 409.7 MB, free: 280 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1465, allocations: 0 / 409.7 MB, free: 280 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005071/0.147, allocations: 115.9 kB / 409.8 MB, free: 164 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.147, allocations: 4.156 kB / 409.9 MB, free: 160 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.54e-05/0.147, allocations: 20 kB / 409.9 MB, free: 140 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.147, allocations: 3.938 kB / 409.9 MB, free: 136 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.147, allocations: 4 kB / 409.9 MB, free: 132 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001678/0.1487, allocations: 1.128 MB / 411 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/0.1489, allocations: 99.42 kB / 411.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.149, allocations: 12 kB / 411.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004628/0.1495, allocations: 51.94 kB / 411.2 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.1496, allocations: 36.44 kB / 411.2 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.562e-05/0.1496, allocations: 19.94 kB / 411.2 MB, free: 14.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009278/0.1506, allocations: 0.5771 MB / 411.8 MB, free: 14.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1506, allocations: 0 / 411.8 MB, free: 14.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007972/0.1514, allocations: 291 kB / 412.1 MB, free: 13.89 MB / 382.1 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.0001678/0.1515, allocations: 119.1 kB / 412.2 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.1526, allocations: 0.6307 MB / 412.8 MB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1526, allocations: 0 / 412.8 MB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000494/0.1531, allocations: 311.4 kB / 413.1 MB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009078/0.154, allocations: 166.8 kB / 413.3 MB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003731/0.1578, allocations: 2.3 MB / 415.6 MB, free: 10.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008808/0.1586, allocations: 0.7523 MB / 416.4 MB, free: 9.535 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004759/0.1591, allocations: 209.5 kB / 416.6 MB, free: 9.328 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/0.1593, allocations: 56.48 kB / 416.6 MB, free: 9.27 MB / 382.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1593, allocations: 0 / 416.6 MB, free: 9.27 MB / 382.1 MB Notification: Performance of Templates: time 0.01922/0.1785, allocations: 9.839 MB / 426.4 MB, free: 15.61 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Polyphase.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: 4.5129308240721]