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.0009807/0.0009807, allocations: 78.28 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.001178/0.001178, allocations: 147.3 kB / 24.8 MB, free: 9.285 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.9856/0.9856, allocations: 173.4 MB / 201.4 MB, free: 9.184 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 2.404e-06/2.404e-06, allocations: 3.938 kB / 268.4 MB, free: 6.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.431e-05, allocations: 6.25 kB / 268.4 MB, free: 6.156 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.008503/0.008528, allocations: 8.575 MB / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004269/0.0128, allocations: 2.522 MB / 279.5 MB, free: 11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006668/0.01346, allocations: 79.62 kB / 279.6 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004486/0.01795, allocations: 3.873 MB / 283.5 MB, free: 7.035 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001982/0.01993, allocations: 0.92 MB / 284.4 MB, free: 6.109 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.02135, allocations: 0.7696 MB / 285.2 MB, free: 5.344 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002968/0.02431, allocations: 3.781 MB / 288.9 MB, free: 1.547 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1217/0.146, allocations: 6.135 MB / 295.1 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004321/0.1504, allocations: 3.197 MB / 298.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003639/0.154, allocations: 2.312 MB / 300.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001879/0.1559, allocations: 0.5845 MB / 301.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002313/0.1582, allocations: 0.7876 MB / 302 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006689/0.1589, allocations: 1.152 MB / 303.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001984/0.1608, allocations: 1.548 MB / 304.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003203/0.164, allocations: 3.951 MB / 308.6 MB, free: 11.13 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1641, allocations: 0 / 308.6 MB, free: 11.13 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1641, allocations: 0 / 308.6 MB, free: 11.13 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001385/0.1642, allocations: 0 / 308.6 MB, free: 11.13 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: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.006661/0.1709, allocations: 5.162 MB / 313.8 MB, free: 8.562 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.1709, allocations: 10.38 kB / 313.8 MB, free: 8.562 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003894/0.1748, allocations: 1.66 MB / 315.4 MB, free: 7.414 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002059/0.1768, allocations: 2.024 MB / 317.5 MB, free: 5.629 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.177, allocations: 309.6 kB / 317.8 MB, free: 5.324 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003194/0.1773, allocations: 415.1 kB / 318.2 MB, free: 4.922 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002616/0.1799, allocations: 2.207 MB / 320.4 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.583e-05/0.1799, allocations: 3.047 kB / 320.4 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002076/0.1802, allocations: 172 kB / 320.5 MB, free: 2.488 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.401e-05/0.1802, allocations: 177.9 kB / 320.7 MB, free: 2.312 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.1817, allocations: 1.213 MB / 321.9 MB, free: 1.062 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01569/0.1974, allocations: 15.5 MB / 337.4 MB, free: 1.875 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/0.199, allocations: 1.19 MB / 338.6 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004408/0.1994, allocations: 369 kB / 339 MB, free: 396 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.671e-05/0.1995, allocations: 48.95 kB / 339 MB, free: 344 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.1995, allocations: 50.33 kB / 339.1 MB, free: 284 kB / 282.7 MB Notification: Performance of pre-optimization done (n=100): time 3.326e-06/0.1995, allocations: 0 / 339.1 MB, free: 284 kB / 282.7 MB Notification: Performance of matching and sorting (n=100): time 0.0008737/0.2004, allocations: 0.6833 MB / 339.8 MB, free: 15.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.2004, allocations: 64.06 kB / 339.8 MB, free: 15.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/0.2018, allocations: 1.377 MB / 341.2 MB, free: 14.3 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.575e-05/0.2018, allocations: 45.7 kB / 341.3 MB, free: 14.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008332/0.2027, allocations: 1.97 MB / 343.2 MB, free: 12.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002189/0.2029, allocations: 387.2 kB / 343.6 MB, free: 11.96 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004181/0.2033, allocations: 0.509 MB / 344.1 MB, free: 11.49 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.2035, allocations: 0.5385 MB / 344.6 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/0.2037, allocations: 220.1 kB / 344.9 MB, free: 10.74 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008681/0.2046, allocations: 1.721 MB / 346.6 MB, free: 8.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001618/0.2062, allocations: 2.164 MB / 348.7 MB, free: 5.809 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.637e-05/0.2062, allocations: 8 kB / 348.8 MB, free: 5.801 MB / 298.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.001597/0.2078, allocations: 1.608 MB / 350.4 MB, free: 4.402 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.2078, allocations: 24.56 kB / 350.4 MB, free: 4.379 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.178e-05/0.2079, allocations: 36 kB / 350.4 MB, free: 4.344 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.811e-05/0.2079, allocations: 48 kB / 350.5 MB, free: 4.297 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008427/0.2088, allocations: 0.4902 MB / 351 MB, free: 3.844 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.528e-05/0.2088, allocations: 70.38 kB / 351 MB, free: 3.789 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006859/0.2095, allocations: 254.1 kB / 351.3 MB, free: 3.539 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.533e-05/0.2096, allocations: 104 kB / 351.4 MB, free: 3.438 MB / 298.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.0006633/0.2102, allocations: 312.5 kB / 351.7 MB, free: 3.164 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/0.2104, allocations: 163.1 kB / 351.8 MB, free: 3.004 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008923/0.2113, allocations: 0.8904 MB / 352.7 MB, free: 2.141 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004176/0.2117, allocations: 438.5 kB / 353.2 MB, free: 1.703 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.2117, allocations: 0 / 353.2 MB, free: 1.703 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.2117, allocations: 3.984 kB / 353.2 MB, free: 1.699 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006183/0.2179, allocations: 4.779 MB / 357.9 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.561e-05/0.2179, allocations: 20 kB / 358 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003944/0.2183, allocations: 201.8 kB / 358.2 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.659e-05/0.2183, allocations: 28 kB / 358.2 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.802e-05/0.2184, allocations: 48.64 kB / 358.2 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-05/0.2184, allocations: 42.39 kB / 358.3 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.439e-05/0.2184, allocations: 35.41 kB / 358.3 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.2199, allocations: 1.822 MB / 360.1 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003569/0.2203, allocations: 233.3 kB / 360.4 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.399e-05/0.2204, allocations: 51.98 kB / 360.4 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003806/0.2207, allocations: 40 kB / 360.5 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.2208, allocations: 154.2 kB / 360.6 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.855e-05/0.2209, allocations: 51.98 kB / 360.7 MB, free: 10.02 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007274/0.2216, allocations: 0.5975 MB / 361.2 MB, free: 9.461 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2216, allocations: 0 / 361.2 MB, free: 9.461 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001887/0.2235, allocations: 0.8793 MB / 362.1 MB, free: 8.578 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.0002771/0.2238, allocations: 209 kB / 362.3 MB, free: 8.391 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.225, allocations: 1.054 MB / 363.4 MB, free: 7.492 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.225, allocations: 4.062 kB / 363.4 MB, free: 7.488 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003252/0.2253, allocations: 327.9 kB / 363.7 MB, free: 7.242 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.2264, allocations: 343.6 kB / 364 MB, free: 6.922 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006584/0.233, allocations: 5.832 MB / 369.9 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007342/0.2337, allocations: 1.009 MB / 370.9 MB, free: 15.68 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005232/0.2342, allocations: 224.2 kB / 371.1 MB, free: 15.45 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004741/0.2347, allocations: 366 kB / 371.5 MB, free: 15.09 MB / 330.7 MB Notification: Performance of SimCode: time 1.222e-06/0.2347, allocations: 0 / 371.5 MB, free: 15.09 MB / 330.7 MB Notification: Performance of Templates: time 0.02502/0.2597, allocations: 17.12 MB / 388.6 MB, free: 14.29 MB / 346.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.0732159982435405]