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.0009186/0.0009186, allocations: 85.17 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.0009409/0.0009409, allocations: 143.4 kB / 24.89 MB, free: 8.727 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.03/1.03, allocations: 173.4 MB / 201.5 MB, free: 8.758 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.613e-06/1.613e-06, allocations: 0 / 268.5 MB, free: 5.992 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.611e-05/1.772e-05, allocations: 6.25 kB / 268.5 MB, free: 5.984 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.003952/0.003969, allocations: 3.749 MB / 272.3 MB, free: 2.219 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.00566, allocations: 1.028 MB / 273.3 MB, free: 1.188 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000177/0.005837, allocations: 27.81 kB / 273.3 MB, free: 1.16 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.006101, allocations: 154.8 kB / 273.5 MB, free: 1.008 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005847/0.006686, allocations: 317.9 kB / 273.8 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.006871, allocations: 127.8 kB / 273.9 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009166/0.007787, allocations: 1.462 MB / 275.4 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005517/0.008339, allocations: 0.663 MB / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006393/0.008978, allocations: 0.9589 MB / 277 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007029/0.009681, allocations: 0.7756 MB / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.009812, allocations: 156 kB / 277.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001438/0.009955, allocations: 160 kB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002776/0.01023, allocations: 490.6 kB / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003462/0.01058, allocations: 0.5223 MB / 279.1 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.01172, allocations: 1.246 MB / 280.3 MB, free: 10.08 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.01172, allocations: 3.984 kB / 280.3 MB, free: 10.08 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.01172, allocations: 0 / 280.3 MB, free: 10.08 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.01173, allocations: 0 / 280.3 MB, free: 10.08 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.001395/0.01313, allocations: 1.52 MB / 281.8 MB, free: 8.527 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.01317, allocations: 8.922 kB / 281.8 MB, free: 8.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002098/0.01338, allocations: 192.7 kB / 282 MB, free: 8.332 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006407/0.01403, allocations: 0.524 MB / 282.6 MB, free: 7.781 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.203e-05/0.01407, allocations: 82.62 kB / 282.6 MB, free: 7.699 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.01418, allocations: 112.4 kB / 282.7 MB, free: 7.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008155/0.01499, allocations: 0.9348 MB / 283.7 MB, free: 6.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.01501, allocations: 4 kB / 283.7 MB, free: 6.566 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.313e-05/0.01508, allocations: 44 kB / 283.7 MB, free: 6.523 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/0.01509, allocations: 28 kB / 283.8 MB, free: 6.496 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003765/0.01547, allocations: 247.3 kB / 284 MB, free: 6.242 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00266/0.01813, allocations: 2.515 MB / 286.5 MB, free: 3.621 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.01842, allocations: 309.5 kB / 286.8 MB, free: 3.309 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002643/0.01868, allocations: 222.6 kB / 287 MB, free: 3.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.0187, allocations: 12.5 kB / 287 MB, free: 3.078 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.01873, allocations: 47.05 kB / 287.1 MB, free: 3.023 MB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 1.472e-06/0.01873, allocations: 0 / 287.1 MB, free: 3.023 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.0005991/0.01933, allocations: 270 kB / 287.4 MB, free: 2.754 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.01935, allocations: 55.91 kB / 287.4 MB, free: 2.684 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003238/0.01968, allocations: 0.5155 MB / 287.9 MB, free: 2.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.0197, allocations: 37.7 kB / 288 MB, free: 2.117 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001833/0.01989, allocations: 489 kB / 288.4 MB, free: 1.633 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.046e-05/0.01997, allocations: 178.4 kB / 288.6 MB, free: 1.457 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.557e-05/0.02006, allocations: 94.3 kB / 288.7 MB, free: 1.359 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.02017, allocations: 390.5 kB / 289.1 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.083e-05/0.02024, allocations: 45.3 kB / 289.1 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.02035, allocations: 143.5 kB / 289.3 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.02056, allocations: 241.1 kB / 289.5 MB, free: 500 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.02056, allocations: 4 kB / 289.5 MB, free: 496 kB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.000292/0.02086, allocations: 294.2 kB / 289.8 MB, free: 196 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.02087, allocations: 8 kB / 289.8 MB, free: 188 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.02087, allocations: 0 / 289.8 MB, free: 188 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.425e-06/0.02088, allocations: 4 kB / 289.8 MB, free: 184 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004556/0.02134, allocations: 187.1 kB / 290 MB, free: 0 / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1185/0.1398, allocations: 7.672 kB / 290 MB, free: 29.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004311/0.1402, allocations: 46.28 kB / 290 MB, free: 29.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.1403, allocations: 16.47 kB / 290.1 MB, free: 29.54 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.0002978/0.1406, allocations: 146.5 kB / 290.2 MB, free: 29.42 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.936e-05/0.1406, allocations: 63.17 kB / 290.3 MB, free: 29.42 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.075e-05/0.1407, allocations: 79.94 kB / 290.3 MB, free: 29.4 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.1407, allocations: 4.781 kB / 290.3 MB, free: 29.4 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1407, allocations: 5.156 kB / 290.3 MB, free: 29.4 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.1407, allocations: 4.219 kB / 290.4 MB, free: 29.4 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001366/0.1421, allocations: 1.094 MB / 291.4 MB, free: 29.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1421, allocations: 1.094 kB / 291.4 MB, free: 29.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004008/0.1425, allocations: 159.3 kB / 291.6 MB, free: 29.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.1425, allocations: 6.484 kB / 291.6 MB, free: 29.11 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.1425, allocations: 13.95 kB / 291.6 MB, free: 29.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1425, allocations: 3.219 kB / 291.6 MB, free: 29.11 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.1425, allocations: 2.031 kB / 291.6 MB, free: 29.11 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004355/0.143, allocations: 472.2 kB / 292.1 MB, free: 28.92 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.877e-05/0.1431, allocations: 81.89 kB / 292.2 MB, free: 28.92 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.074e-05/0.1431, allocations: 16.12 kB / 292.2 MB, free: 28.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.1433, allocations: 32.34 kB / 292.2 MB, free: 28.92 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.613e-05/0.1433, allocations: 37.83 kB / 292.3 MB, free: 28.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.1434, allocations: 10.38 kB / 292.3 MB, free: 28.92 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002303/0.1436, allocations: 261.2 kB / 292.5 MB, free: 28.89 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1436, allocations: 0 / 292.5 MB, free: 28.89 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005088/0.1441, allocations: 291.3 kB / 292.8 MB, free: 28.89 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.0001016/0.1442, allocations: 98.83 kB / 292.9 MB, free: 28.82 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002851/0.1445, allocations: 220.8 kB / 293.1 MB, free: 28.8 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/0.1445, allocations: 9.062 kB / 293.1 MB, free: 28.8 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.1446, allocations: 126.3 kB / 293.2 MB, free: 28.79 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/0.1451, allocations: 173.4 kB / 293.4 MB, free: 28.78 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.1472, allocations: 1.868 MB / 295.3 MB, free: 27.96 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.1474, allocations: 302.3 kB / 295.6 MB, free: 27.88 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002078/0.1477, allocations: 89.09 kB / 295.7 MB, free: 27.87 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003534/0.148, allocations: 218 kB / 295.9 MB, free: 27.82 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.148, allocations: 0 / 295.9 MB, free: 27.82 MB / 266.7 MB Notification: Performance of Templates: time 0.01299/0.161, allocations: 10.64 MB / 306.5 MB, free: 23.25 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 -s gbode -gbm=radauIIA3 -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.728300522081554]