Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.0009223/0.0009223, allocations: 85.05 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001361/0.001361, allocations: 147.1 kB / 24.9 MB, free: 8.703 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9447/0.9447, allocations: 173.3 MB / 201.5 MB, free: 9.223 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 3.938 kB / 268.5 MB, free: 6.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.421e-05/1.58e-05, allocations: 6.25 kB / 268.5 MB, free: 6.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.003783/0.003798, allocations: 3.734 MB / 272.2 MB, free: 2.418 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.00502, allocations: 0.9771 MB / 273.2 MB, free: 1.438 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001837/0.005204, allocations: 31.75 kB / 273.2 MB, free: 1.406 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002597/0.005464, allocations: 158.8 kB / 273.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005521/0.006016, allocations: 302.1 kB / 273.7 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.006197, allocations: 127.8 kB / 273.8 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008803/0.007077, allocations: 1.451 MB / 275.3 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005815/0.007659, allocations: 0.6392 MB / 275.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005898/0.008249, allocations: 0.924 MB / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000601/0.00885, allocations: 0.7639 MB / 277.6 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.008969, allocations: 156 kB / 277.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.009106, allocations: 156 kB / 277.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002442/0.00935, allocations: 482.6 kB / 278.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000316/0.009666, allocations: 0.5184 MB / 278.9 MB, free: 11.69 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007574/0.01042, allocations: 1.231 MB / 280.1 MB, free: 10.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.01043, allocations: 0 / 280.1 MB, free: 10.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.01043, allocations: 0 / 280.1 MB, free: 10.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.01043, allocations: 0 / 280.1 MB, free: 10.46 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.001368/0.0118, allocations: 1.496 MB / 281.6 MB, free: 8.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.01183, allocations: 8.922 kB / 281.6 MB, free: 8.922 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000172/0.012, allocations: 184.8 kB / 281.8 MB, free: 8.742 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000554/0.01256, allocations: 0.5356 MB / 282.3 MB, free: 8.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.018e-05/0.0126, allocations: 78.59 kB / 282.4 MB, free: 8.102 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.0127, allocations: 108.4 kB / 282.5 MB, free: 7.996 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000845/0.01355, allocations: 0.9148 MB / 283.4 MB, free: 6.996 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.01357, allocations: 4 kB / 283.4 MB, free: 6.992 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.16e-05/0.01363, allocations: 44 kB / 283.5 MB, free: 6.949 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.01364, allocations: 32 kB / 283.5 MB, free: 6.918 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003555/0.014, allocations: 247.1 kB / 283.8 MB, free: 6.664 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00239/0.01639, allocations: 2.437 MB / 286.2 MB, free: 4.121 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.01666, allocations: 288.4 kB / 286.5 MB, free: 3.832 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.01683, allocations: 150.9 kB / 286.6 MB, free: 3.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.01685, allocations: 12.44 kB / 286.6 MB, free: 3.668 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.01687, allocations: 43.06 kB / 286.7 MB, free: 3.617 MB / 266.7 MB Notification: Performance of pre-optimization done (n=49): time 2.014e-06/0.01687, allocations: 0 / 286.7 MB, free: 3.617 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.0009654/0.01784, allocations: 0.7392 MB / 287.4 MB, free: 2.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.01786, allocations: 55.91 kB / 287.5 MB, free: 2.773 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000331/0.01819, allocations: 0.5156 MB / 288 MB, free: 2.246 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.01822, allocations: 33.64 kB / 288 MB, free: 2.207 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.0184, allocations: 485 kB / 288.5 MB, free: 1.727 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.126e-05/0.01848, allocations: 190.3 kB / 288.7 MB, free: 1.539 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.911e-05/0.01858, allocations: 98.25 kB / 288.8 MB, free: 1.438 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.01869, allocations: 382.6 kB / 289.2 MB, free: 1.055 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.182e-05/0.01876, allocations: 53.22 kB / 289.2 MB, free: 1.004 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.01888, allocations: 152.4 kB / 289.4 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/0.01909, allocations: 250 kB / 289.6 MB, free: 0.543 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.0191, allocations: 0 / 289.6 MB, free: 0.543 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0003575/0.01945, allocations: 339.1 kB / 289.9 MB, free: 204 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.01947, allocations: 4 kB / 289.9 MB, free: 200 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.01947, allocations: 4 kB / 289.9 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002146/0.01969, allocations: 60.75 kB / 290 MB, free: 132 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1105/0.1302, allocations: 139.8 kB / 290.1 MB, free: 29.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/0.1313, allocations: 1.613 MB / 291.7 MB, free: 28.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003625/0.1317, allocations: 15.36 kB / 291.8 MB, free: 28.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.1317, allocations: 13.47 kB / 291.8 MB, free: 28.28 MB / 266.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.000277/0.132, allocations: 144.5 kB / 291.9 MB, free: 28.16 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.713e-05/0.1321, allocations: 66.39 kB / 292 MB, free: 28.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.53e-05/0.1322, allocations: 82.44 kB / 292.1 MB, free: 28.14 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1322, allocations: 4.812 kB / 292.1 MB, free: 28.14 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.1322, allocations: 2.594 kB / 292.1 MB, free: 28.14 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.1322, allocations: 4.672 kB / 292.1 MB, free: 28.14 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/0.1336, allocations: 1.129 MB / 293.2 MB, free: 27.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.1336, allocations: 1.938 kB / 293.2 MB, free: 27.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002522/0.1339, allocations: 109.3 kB / 293.3 MB, free: 27.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001482/0.1341, allocations: 63.42 kB / 293.4 MB, free: 27.82 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/0.1341, allocations: 15.22 kB / 293.4 MB, free: 27.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008246/0.1349, allocations: 1.69 MB / 295.1 MB, free: 26.48 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.1349, allocations: 2.672 kB / 295.1 MB, free: 26.48 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005001/0.1354, allocations: 0.5025 MB / 295.6 MB, free: 26.26 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.442e-05/0.1355, allocations: 68.08 kB / 295.6 MB, free: 26.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.292e-05/0.1355, allocations: 16.44 kB / 295.7 MB, free: 26.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.1358, allocations: 38.33 kB / 295.7 MB, free: 26.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.883e-05/0.1359, allocations: 41.16 kB / 295.7 MB, free: 26.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.1359, allocations: 11.77 kB / 295.8 MB, free: 26.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002618/0.1361, allocations: 249.2 kB / 296 MB, free: 26.22 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1361, allocations: 0 / 296 MB, free: 26.22 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005093/0.1367, allocations: 212.6 kB / 296.2 MB, free: 26.22 MB / 266.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.0001085/0.1368, allocations: 95.2 kB / 296.3 MB, free: 26.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005008/0.1373, allocations: 400.4 kB / 296.7 MB, free: 26.01 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.485e-05/0.1373, allocations: 6.406 kB / 296.7 MB, free: 26.01 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002935/0.1376, allocations: 294.1 kB / 297 MB, free: 25.88 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004849/0.1381, allocations: 169.2 kB / 297.1 MB, free: 25.87 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/0.1406, allocations: 1.836 MB / 299 MB, free: 25.04 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.1409, allocations: 302.2 kB / 299.3 MB, free: 24.96 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002221/0.1411, allocations: 89.39 kB / 299.4 MB, free: 24.94 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003757/0.1415, allocations: 209.7 kB / 299.6 MB, free: 24.89 MB / 266.7 MB Notification: Performance of SimCode: time 9.62e-07/0.1415, allocations: 0 / 299.6 MB, free: 24.89 MB / 266.7 MB Notification: Performance of Templates: time 0.01476/0.1563, allocations: 11.07 MB / 310.6 MB, free: 19.13 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.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.693824431858957]