Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009421/0.0009421, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009953/0.0009953, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8866/0.8866, allocations: 177 MB / 205.2 MB, free: 5.047 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.012e-06/1.012e-06, allocations: 0 / 273.4 MB, free: 1.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.729e-06/1.074e-05, allocations: 6.312 kB / 273.4 MB, free: 1.082 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.003122/0.003133, allocations: 3.736 MB / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.004629, allocations: 1.098 MB / 278.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001675/0.004796, allocations: 31.75 kB / 278.2 MB, free: 12.19 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002382/0.005035, allocations: 158.8 kB / 278.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005549/0.00559, allocations: 333.9 kB / 278.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001796/0.005769, allocations: 147.7 kB / 278.9 MB, free: 11.56 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008938/0.006663, allocations: 1.47 MB / 280.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005066/0.007169, allocations: 0.6747 MB / 281 MB, free: 9.359 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006238/0.007793, allocations: 0.959 MB / 282 MB, free: 8.398 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006013/0.008395, allocations: 0.7873 MB / 282.8 MB, free: 7.609 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.008514, allocations: 164 kB / 282.9 MB, free: 7.449 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.008674, allocations: 164 kB / 283.1 MB, free: 7.289 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002673/0.008941, allocations: 494.6 kB / 283.6 MB, free: 6.805 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003508/0.009292, allocations: 0.5301 MB / 284.1 MB, free: 6.273 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007905/0.01008, allocations: 1.262 MB / 285.3 MB, free: 5.008 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.01009, allocations: 4 kB / 285.4 MB, free: 5.004 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.01009, allocations: 0 / 285.4 MB, free: 5.004 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.01009, allocations: 0 / 285.4 MB, free: 5.004 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.001352/0.01145, allocations: 1.535 MB / 286.9 MB, free: 3.438 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.604e-05/0.01147, allocations: 11.98 kB / 286.9 MB, free: 3.426 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002969/0.01177, allocations: 212.8 kB / 287.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005809/0.01235, allocations: 0.5513 MB / 287.7 MB, free: 2.641 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.082e-05/0.01239, allocations: 82.62 kB / 287.7 MB, free: 2.559 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.0125, allocations: 120.3 kB / 287.9 MB, free: 2.441 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008405/0.01334, allocations: 0.9967 MB / 288.9 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.01336, allocations: 0 / 288.9 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.311e-05/0.01342, allocations: 48 kB / 288.9 MB, free: 1.312 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.779e-05/0.01346, allocations: 42.25 kB / 288.9 MB, free: 1.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003722/0.01383, allocations: 263.5 kB / 289.2 MB, free: 1 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09864/0.1125, allocations: 2.518 MB / 291.7 MB, free: 24.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.1128, allocations: 304.5 kB / 292 MB, free: 24.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002822/0.1131, allocations: 217.5 kB / 292.2 MB, free: 24.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.1131, allocations: 9.875 kB / 292.2 MB, free: 24.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.1131, allocations: 42.17 kB / 292.3 MB, free: 24.26 MB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 1.843e-06/0.1131, allocations: 1.188 kB / 292.3 MB, free: 24.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.0003939/0.1135, allocations: 274 kB / 292.5 MB, free: 24.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.03e-05/0.1135, allocations: 61.81 kB / 292.6 MB, free: 24.15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003807/0.1139, allocations: 0.5211 MB / 293.1 MB, free: 24.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.1139, allocations: 34.67 kB / 293.2 MB, free: 23.99 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.1141, allocations: 487.7 kB / 293.6 MB, free: 23.78 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.77e-05/0.1142, allocations: 187.1 kB / 293.8 MB, free: 23.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.435e-05/0.1143, allocations: 98.53 kB / 293.9 MB, free: 23.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.666e-05/0.1143, allocations: 384.9 kB / 294.3 MB, free: 23.35 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.739e-05/0.1144, allocations: 52.89 kB / 294.3 MB, free: 23.35 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.1145, allocations: 142.9 kB / 294.5 MB, free: 23.26 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.1147, allocations: 249.2 kB / 294.7 MB, free: 23.17 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1147, allocations: 1.125 kB / 294.7 MB, free: 23.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.000318/0.1151, allocations: 286.5 kB / 295 MB, free: 23.13 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1151, allocations: 7.75 kB / 295 MB, free: 23.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.1151, allocations: 2.125 kB / 295 MB, free: 23.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1151, allocations: 9.375 kB / 295 MB, free: 23.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002973/0.1154, allocations: 140.8 kB / 295.2 MB, free: 23.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1154, allocations: 5.219 kB / 295.2 MB, free: 23.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/0.1156, allocations: 48.91 kB / 295.2 MB, free: 23.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.1156, allocations: 17.81 kB / 295.2 MB, free: 23.12 MB / 266.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.0001287/0.1157, allocations: 141 kB / 295.4 MB, free: 23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.537e-05/0.1158, allocations: 69.44 kB / 295.4 MB, free: 23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.206e-05/0.1158, allocations: 80.75 kB / 295.5 MB, free: 22.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.1158, allocations: 11.12 kB / 295.5 MB, free: 22.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1158, allocations: 0 / 295.5 MB, free: 22.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1159, allocations: 2.859 kB / 295.5 MB, free: 22.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.1169, allocations: 1.1 MB / 296.6 MB, free: 22.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.1169, allocations: 2.625 kB / 296.6 MB, free: 22.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/0.1171, allocations: 108.7 kB / 296.7 MB, free: 22.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1172, allocations: 3.75 kB / 296.7 MB, free: 22.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.1172, allocations: 20.94 kB / 296.8 MB, free: 22.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1172, allocations: 3 kB / 296.8 MB, free: 22.66 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1172, allocations: 1.125 kB / 296.8 MB, free: 22.66 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003808/0.1176, allocations: 474.9 kB / 297.2 MB, free: 22.45 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.004e-05/0.1176, allocations: 79.34 kB / 297.3 MB, free: 22.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.993e-05/0.1177, allocations: 12.88 kB / 297.3 MB, free: 22.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.1178, allocations: 32.05 kB / 297.4 MB, free: 22.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.063e-05/0.1179, allocations: 41.36 kB / 297.4 MB, free: 22.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.1179, allocations: 12.39 kB / 297.4 MB, free: 22.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000202/0.1181, allocations: 256.6 kB / 297.7 MB, free: 22.38 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1181, allocations: 1.062 kB / 297.7 MB, free: 22.38 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004093/0.1185, allocations: 295.8 kB / 297.9 MB, free: 22.34 MB / 266.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.000101/0.1186, allocations: 99.53 kB / 298 MB, free: 22.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002606/0.1189, allocations: 222.1 kB / 298.3 MB, free: 22.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/0.1189, allocations: 7.906 kB / 298.3 MB, free: 22.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.119, allocations: 131.3 kB / 298.4 MB, free: 22.23 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.1194, allocations: 166.2 kB / 298.6 MB, free: 22.23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.1214, allocations: 1.891 MB / 300.4 MB, free: 21.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.1216, allocations: 308.3 kB / 300.8 MB, free: 21.29 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001817/0.1218, allocations: 86.08 kB / 300.8 MB, free: 21.28 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003129/0.1221, allocations: 215.5 kB / 301 MB, free: 21.23 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1221, allocations: 0 / 301 MB, free: 21.23 MB / 266.7 MB Notification: Performance of Templates: time 0.01091/0.133, allocations: 10.34 MB / 311.4 MB, free: 14.37 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5911359428428113]