Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.0009449/0.0009449, allocations: 80.72 kB / 22.21 MB, free: 2.289 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.0009619/0.0009619, allocations: 145.2 kB / 25.6 MB, free: 8.93 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.8569/0.8569, allocations: 173.4 MB / 202.3 MB, free: 8.285 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.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 269.2 MB, free: 9.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206e-05/1.351e-05, allocations: 2.312 kB / 269.2 MB, free: 9.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.008634/0.008648, allocations: 8.574 MB / 277.8 MB, free: 1.152 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003982/0.01263, allocations: 2.529 MB / 280.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006003/0.01323, allocations: 79.62 kB / 280.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004493/0.01772, allocations: 3.877 MB / 284.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00177/0.01949, allocations: 0.9122 MB / 285.2 MB, free: 9.738 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.02068, allocations: 0.7673 MB / 285.9 MB, free: 8.969 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003169/0.02385, allocations: 3.788 MB / 289.7 MB, free: 5.168 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006197/0.03004, allocations: 6.144 MB / 295.9 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002646/0.03269, allocations: 3.191 MB / 299.1 MB, free: 11.74 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001888/0.03458, allocations: 2.32 MB / 301.4 MB, free: 9.414 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004922/0.03507, allocations: 0.5859 MB / 302 MB, free: 8.828 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008433/0.03591, allocations: 0.7925 MB / 302.8 MB, free: 8.035 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005931/0.03651, allocations: 1.138 MB / 303.9 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001085/0.03759, allocations: 1.548 MB / 305.5 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002761/0.04035, allocations: 3.95 MB / 309.4 MB, free: 1.383 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.04036, allocations: 0 / 309.4 MB, free: 1.383 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.04036, allocations: 4 kB / 309.4 MB, free: 1.379 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.505e-05/0.0404, allocations: 0 / 309.4 MB, free: 1.379 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.005887/0.04629, allocations: 5.154 MB / 314.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.04632, allocations: 8.031 kB / 314.6 MB, free: 12.15 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004009/0.05033, allocations: 1.661 MB / 316.2 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002037/0.05237, allocations: 2.023 MB / 318.3 MB, free: 8.434 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002403/0.05261, allocations: 312.8 kB / 318.6 MB, free: 8.125 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007608/0.05337, allocations: 415.9 kB / 319 MB, free: 7.719 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003373/0.05674, allocations: 2.2 MB / 321.2 MB, free: 5.457 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.939e-05/0.05681, allocations: 3.984 kB / 321.2 MB, free: 5.453 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000254/0.05707, allocations: 172 kB / 321.3 MB, free: 5.285 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001388/0.0572, allocations: 176.6 kB / 321.5 MB, free: 5.109 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002018/0.05922, allocations: 1.216 MB / 322.7 MB, free: 3.855 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01673/0.07595, allocations: 15.49 MB / 338.2 MB, free: 3.781 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/0.0776, allocations: 1.191 MB / 339.4 MB, free: 2.621 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004733/0.07807, allocations: 372.7 kB / 339.8 MB, free: 2.258 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.132e-05/0.07816, allocations: 48.91 kB / 339.8 MB, free: 2.207 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.07819, allocations: 46.39 kB / 339.9 MB, free: 2.152 MB / 314.7 MB Notification: Performance of pre-optimization done (n=100): time 3.306e-06/0.0782, allocations: 0 / 339.9 MB, free: 2.152 MB / 314.7 MB Notification: Performance of matching and sorting (n=100): time 0.0009486/0.07915, allocations: 0.6833 MB / 340.5 MB, free: 1.469 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.07918, allocations: 60.41 kB / 340.6 MB, free: 1.395 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1476/0.2267, allocations: 1.378 MB / 342 MB, free: 56.45 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000163/0.2269, allocations: 43.12 kB / 342 MB, free: 56.42 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001252/0.2282, allocations: 1.954 MB / 344 MB, free: 55.78 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003054/0.2285, allocations: 394.7 kB / 344.4 MB, free: 55.59 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006468/0.2291, allocations: 0.5112 MB / 344.9 MB, free: 55.53 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.2292, allocations: 0.5379 MB / 345.4 MB, free: 55.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005057/0.2298, allocations: 217.2 kB / 345.6 MB, free: 55.04 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.2308, allocations: 1.729 MB / 347.4 MB, free: 53.2 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001683/0.2325, allocations: 2.16 MB / 349.5 MB, free: 51.39 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-05/0.2325, allocations: 13.97 kB / 349.5 MB, free: 51.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.002103/0.2346, allocations: 1.616 MB / 351.1 MB, free: 51.24 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.198e-05/0.2346, allocations: 20.28 kB / 351.2 MB, free: 51.24 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.715e-05/0.2347, allocations: 32.16 kB / 351.2 MB, free: 51.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.834e-05/0.2347, allocations: 47.12 kB / 351.2 MB, free: 51.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000897/0.2356, allocations: 0.491 MB / 351.7 MB, free: 51.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.758e-05/0.2357, allocations: 72.55 kB / 351.8 MB, free: 51.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007953/0.2365, allocations: 257.8 kB / 352.1 MB, free: 51.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-05/0.2365, allocations: 96.47 kB / 352.2 MB, free: 51.16 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (272): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0007909/0.2373, allocations: 308.4 kB / 352.5 MB, free: 51 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002092/0.2376, allocations: 161.2 kB / 352.6 MB, free: 50.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009266/0.2385, allocations: 0.8781 MB / 353.5 MB, free: 50.8 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003859/0.2389, allocations: 441.8 kB / 353.9 MB, free: 50.75 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.2389, allocations: 2.516 kB / 353.9 MB, free: 50.75 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.2389, allocations: 11.11 kB / 353.9 MB, free: 50.74 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006246/0.2451, allocations: 4.766 MB / 358.7 MB, free: 49.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.629e-05/0.2451, allocations: 24.09 kB / 358.7 MB, free: 49.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004112/0.2455, allocations: 207.2 kB / 358.9 MB, free: 49.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.607e-05/0.2456, allocations: 27.19 kB / 359 MB, free: 49.19 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.195e-05/0.2456, allocations: 48.19 kB / 359 MB, free: 49.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.835e-05/0.2456, allocations: 42.56 kB / 359 MB, free: 49.19 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.199e-05/0.2456, allocations: 34.19 kB / 359.1 MB, free: 49.19 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.2469, allocations: 1.815 MB / 360.9 MB, free: 47.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003193/0.2472, allocations: 231.5 kB / 361.1 MB, free: 47.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.2473, allocations: 52.69 kB / 361.2 MB, free: 47.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004105/0.2477, allocations: 43.34 kB / 361.2 MB, free: 47.65 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.2478, allocations: 147.5 kB / 361.4 MB, free: 47.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.285e-05/0.2478, allocations: 49.09 kB / 361.4 MB, free: 47.64 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000463/0.2483, allocations: 0.6029 MB / 362 MB, free: 47.48 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2483, allocations: 2.516 kB / 362 MB, free: 47.48 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001757/0.2501, allocations: 0.8812 MB / 362.9 MB, free: 47.28 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * 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 (106): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002798/0.2503, allocations: 215.1 kB / 363.1 MB, free: 47.17 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001238/0.2516, allocations: 1.053 MB / 364.2 MB, free: 47.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.2516, allocations: 3.562 kB / 364.2 MB, free: 47.07 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003113/0.2519, allocations: 332 kB / 364.5 MB, free: 47.05 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.2531, allocations: 349.6 kB / 364.8 MB, free: 47.04 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00601/0.2591, allocations: 5.832 MB / 370.7 MB, free: 42.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006971/0.2598, allocations: 1.004 MB / 371.7 MB, free: 42.23 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006198/0.2604, allocations: 219.4 kB / 371.9 MB, free: 42.07 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004196/0.2608, allocations: 366.3 kB / 372.2 MB, free: 41.76 MB / 314.7 MB Notification: Performance of SimCode: time 1.362e-06/0.2608, allocations: 0 / 372.2 MB, free: 41.76 MB / 314.7 MB Notification: Performance of Templates: time 0.02406/0.2849, allocations: 17.39 MB / 389.6 MB, free: 26.32 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.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: 3.2146258181892335]