Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.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.0009881/0.0009881, allocations: 78.97 kB / 21.42 MB, free: 3.078 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.0009051/0.0009051, allocations: 148.9 kB / 24.81 MB, free: 9.27 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 1.024/1.024, allocations: 173.4 MB / 201.4 MB, free: 9.219 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.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 268.4 MB, free: 6.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.384e-05, allocations: 2.312 kB / 268.4 MB, free: 6.215 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.004397/0.004421, allocations: 3.703 MB / 272.1 MB, free: 2.492 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.006317, allocations: 0.9852 MB / 273.1 MB, free: 1.504 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000263/0.00658, allocations: 27.81 kB / 273.1 MB, free: 1.477 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003237/0.006904, allocations: 158.8 kB / 273.3 MB, free: 1.32 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007811/0.007685, allocations: 318 kB / 273.6 MB, free: 1.008 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.007937, allocations: 127.8 kB / 273.7 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001242/0.009179, allocations: 1.459 MB / 275.2 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007694/0.009948, allocations: 0.6396 MB / 275.8 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00107/0.01102, allocations: 0.9551 MB / 276.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009534/0.01197, allocations: 0.7834 MB / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001982/0.01217, allocations: 160 kB / 277.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002206/0.01239, allocations: 160 kB / 277.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003596/0.01275, allocations: 490.6 kB / 278.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005193/0.01327, allocations: 0.5262 MB / 278.9 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001193/0.01446, allocations: 1.25 MB / 280.1 MB, free: 10.42 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.01447, allocations: 0 / 280.1 MB, free: 10.42 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01447, allocations: 0 / 280.1 MB, free: 10.42 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.748e-05/0.01449, allocations: 0 / 280.1 MB, free: 10.42 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002421/0.01691, allocations: 1.73 MB / 281.8 MB, free: 8.648 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.01695, allocations: 8.922 kB / 281.8 MB, free: 8.641 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000287/0.01724, allocations: 240 kB / 282.1 MB, free: 8.406 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008721/0.01811, allocations: 0.6932 MB / 282.8 MB, free: 7.684 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.323e-05/0.01817, allocations: 82.62 kB / 282.9 MB, free: 7.602 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.01832, allocations: 116.4 kB / 283 MB, free: 7.488 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.01953, allocations: 0.9736 MB / 283.9 MB, free: 6.426 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.01955, allocations: 3.938 kB / 283.9 MB, free: 6.422 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.289e-05/0.01964, allocations: 44 kB / 284 MB, free: 6.379 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/0.01966, allocations: 28 kB / 284 MB, free: 6.352 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005588/0.02022, allocations: 291.2 kB / 284.3 MB, free: 6.055 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004143/0.02436, allocations: 3.152 MB / 287.5 MB, free: 2.781 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004231/0.02478, allocations: 336.7 kB / 287.8 MB, free: 2.441 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003898/0.02517, allocations: 243.6 kB / 288 MB, free: 2.203 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.0252, allocations: 8.5 kB / 288 MB, free: 2.195 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.02523, allocations: 45.89 kB / 288.1 MB, free: 2.141 MB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 2.485e-06/0.02524, allocations: 0 / 288.1 MB, free: 2.141 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.0005803/0.02582, allocations: 360.5 kB / 288.4 MB, free: 1.781 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.02584, allocations: 55.91 kB / 288.5 MB, free: 1.715 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006138/0.02646, allocations: 0.671 MB / 289.1 MB, free: 1.031 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/0.0265, allocations: 33.7 kB / 289.2 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003663/0.02686, allocations: 0.6312 MB / 289.8 MB, free: 360 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.02699, allocations: 194.4 kB / 290 MB, free: 164 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.02714, allocations: 108 kB / 290.1 MB, free: 48 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.1085/0.1356, allocations: 0.5927 MB / 290.7 MB, free: 28.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/0.1358, allocations: 55.27 kB / 290.8 MB, free: 28.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.136, allocations: 190.2 kB / 290.9 MB, free: 28.63 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002841/0.1363, allocations: 281.9 kB / 291.2 MB, free: 28.51 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.1363, allocations: 3.938 kB / 291.2 MB, free: 28.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0005297/0.1368, allocations: 381.9 kB / 291.6 MB, free: 28.47 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.1368, allocations: 7.531 kB / 291.6 MB, free: 28.47 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.1368, allocations: 2.406 kB / 291.6 MB, free: 28.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.1369, allocations: 5.594 kB / 291.6 MB, free: 28.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/0.1372, allocations: 140.6 kB / 291.7 MB, free: 28.47 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.1372, allocations: 6.047 kB / 291.8 MB, free: 28.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.1374, allocations: 54.5 kB / 291.8 MB, free: 28.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.1374, allocations: 16.28 kB / 291.8 MB, free: 28.47 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.0002528/0.1377, allocations: 188.4 kB / 292 MB, free: 28.31 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.873e-05/0.1378, allocations: 85.34 kB / 292.1 MB, free: 28.31 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.435e-05/0.1379, allocations: 85.77 kB / 292.2 MB, free: 28.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1379, allocations: 8.281 kB / 292.2 MB, free: 28.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1379, allocations: 0 / 292.2 MB, free: 28.29 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1379, allocations: 3.047 kB / 292.2 MB, free: 28.29 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/0.1394, allocations: 1.38 MB / 293.6 MB, free: 27.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.1394, allocations: 3.156 kB / 293.6 MB, free: 27.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002672/0.1396, allocations: 113.3 kB / 293.7 MB, free: 27.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.1397, allocations: 5.672 kB / 293.7 MB, free: 27.92 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.1397, allocations: 12.7 kB / 293.7 MB, free: 27.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.1397, allocations: 7.594 kB / 293.7 MB, free: 27.92 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1397, allocations: 6.094 kB / 293.7 MB, free: 27.92 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000489/0.1402, allocations: 0.5885 MB / 294.3 MB, free: 27.64 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.127e-05/0.1403, allocations: 84.77 kB / 294.4 MB, free: 27.6 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.628e-05/0.1403, allocations: 14.55 kB / 294.4 MB, free: 27.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.1405, allocations: 35.19 kB / 294.4 MB, free: 27.6 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.478e-05/0.1405, allocations: 40.61 kB / 294.5 MB, free: 27.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.1406, allocations: 12.11 kB / 294.5 MB, free: 27.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002709/0.1408, allocations: 403.3 kB / 294.9 MB, free: 27.46 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1408, allocations: 0 / 294.9 MB, free: 27.46 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005028/0.1413, allocations: 289.8 kB / 295.2 MB, free: 27.42 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.0001083/0.1414, allocations: 123.8 kB / 295.3 MB, free: 27.33 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003047/0.1417, allocations: 249.2 kB / 295.5 MB, free: 27.31 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1418, allocations: 1.188 kB / 295.5 MB, free: 27.31 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.1419, allocations: 148.4 kB / 295.7 MB, free: 27.3 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005085/0.1424, allocations: 171.1 kB / 295.8 MB, free: 27.29 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.1446, allocations: 1.935 MB / 297.8 MB, free: 26.39 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.1449, allocations: 360.5 kB / 298.1 MB, free: 26.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002026/0.1451, allocations: 84.62 kB / 298.2 MB, free: 26.31 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003401/0.1454, allocations: 257.1 kB / 298.5 MB, free: 26.24 MB / 266.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1454, allocations: 0 / 298.5 MB, free: 26.24 MB / 266.7 MB Notification: Performance of Templates: time 0.01279/0.1582, allocations: 10.41 MB / 308.9 MB, free: 20.96 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.7659159009344876]