Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 79.73 kB / 21.97 MB, free: 2.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 168 kB / 25.33 MB, free: 9.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8988/0.8988, allocations: 158.6 MB / 187.2 MB, free: 2.551 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 251 MB, free: 3.602 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.449e-05, allocations: 5.406 kB / 251 MB, free: 3.598 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.008141/0.008165, allocations: 9.779 MB / 260.8 MB, free: 9.77 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005507/0.01367, allocations: 2.792 MB / 263.6 MB, free: 6.965 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007477/0.01442, allocations: 71.69 kB / 263.7 MB, free: 6.895 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004251/0.01867, allocations: 4.504 MB / 268.2 MB, free: 2.371 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002459/0.02113, allocations: 0.9083 MB / 269.1 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.02255, allocations: 0.9502 MB / 270 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003755/0.02631, allocations: 4.457 MB / 274.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009085/0.03539, allocations: 7.129 MB / 281.6 MB, free: 4.773 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004554/0.03994, allocations: 3.744 MB / 285.4 MB, free: 1.023 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003144/0.04309, allocations: 2.714 MB / 288.1 MB, free: 14.3 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001463/0.04455, allocations: 0.6758 MB / 288.8 MB, free: 13.63 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001472/0.04602, allocations: 0.8902 MB / 289.7 MB, free: 12.74 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001024/0.04705, allocations: 1.371 MB / 291 MB, free: 11.36 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002189/0.04924, allocations: 1.801 MB / 292.8 MB, free: 9.559 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004653/0.05389, allocations: 4.577 MB / 297.4 MB, free: 4.969 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.0539, allocations: 0 / 297.4 MB, free: 4.969 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.0539, allocations: 0 / 297.4 MB, free: 4.969 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002412/0.05414, allocations: 0 / 297.4 MB, free: 4.969 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: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.1372/0.1914, allocations: 6.072 MB / 303.5 MB, free: 38.31 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.1914, allocations: 13.86 kB / 303.5 MB, free: 38.31 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008716/0.2001, allocations: 3.091 MB / 306.6 MB, free: 38.05 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003754/0.2039, allocations: 2.154 MB / 308.7 MB, free: 37.86 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004604/0.2043, allocations: 368.4 kB / 309.1 MB, free: 37.84 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001169/0.2055, allocations: 482.1 kB / 309.6 MB, free: 37.84 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006923/0.2124, allocations: 2.999 MB / 312.6 MB, free: 37.46 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.171e-05/0.2125, allocations: 3.938 kB / 312.6 MB, free: 37.46 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002887/0.2128, allocations: 207.4 kB / 312.8 MB, free: 37.3 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001602/0.213, allocations: 229.6 kB / 313 MB, free: 37.29 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003854/0.2168, allocations: 1.984 MB / 315 MB, free: 36.96 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01797/0.2348, allocations: 18.09 MB / 333.1 MB, free: 23.66 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003563/0.2384, allocations: 3.055 MB / 336.1 MB, free: 20.81 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005107/0.2389, allocations: 405.8 kB / 336.5 MB, free: 20.41 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002381/0.2413, allocations: 1.726 MB / 338.2 MB, free: 18.74 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.2413, allocations: 37.39 kB / 338.3 MB, free: 18.7 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.716e-06/0.2413, allocations: 4 kB / 338.3 MB, free: 18.69 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003227/0.2416, allocations: 211.9 kB / 338.5 MB, free: 18.48 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.2416, allocations: 51.41 kB / 338.5 MB, free: 18.42 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/0.2432, allocations: 2.087 MB / 340.6 MB, free: 16.39 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.2432, allocations: 25.7 kB / 340.7 MB, free: 16.36 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007844/0.244, allocations: 2.623 MB / 343.3 MB, free: 13.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.442e-05/0.244, allocations: 75.73 kB / 343.4 MB, free: 13.67 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004247/0.2445, allocations: 0.6196 MB / 344 MB, free: 13.04 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.653e-05/0.2446, allocations: 0.5394 MB / 344.5 MB, free: 12.5 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003664/0.2449, allocations: 272.6 kB / 344.8 MB, free: 12.23 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009229/0.2458, allocations: 2.427 MB / 347.2 MB, free: 8.855 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/0.2473, allocations: 2.823 MB / 350 MB, free: 5.273 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-05/0.2473, allocations: 23.94 kB / 350.1 MB, free: 5.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.002175/0.2495, allocations: 2.072 MB / 352.1 MB, free: 3.492 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/0.2496, allocations: 29.5 kB / 352.2 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.472e-05/0.2496, allocations: 52 kB / 352.2 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.302e-05/0.2496, allocations: 64 kB / 352.3 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009066/0.2505, allocations: 0.572 MB / 352.8 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-05/0.2506, allocations: 99.12 kB / 352.9 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.2517, allocations: 409.3 kB / 353.3 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.2518, allocations: 152 kB / 353.5 MB, free: 2.203 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 229 * 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 (307): * Single equations (assignments): 306 * 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.0008227/0.2527, allocations: 339.9 kB / 353.8 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.2528, allocations: 147.9 kB / 354 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002527/0.2531, allocations: 187 kB / 354.1 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.176e-05/0.2531, allocations: 61.64 kB / 354.2 MB, free: 1.512 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2531, allocations: 4 kB / 354.2 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2531, allocations: 0 / 354.2 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00334/0.2565, allocations: 2.901 MB / 357.1 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.2565, allocations: 4.031 kB / 357.1 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.302e-05/0.2565, allocations: 12 kB / 357.1 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.2566, allocations: 0.875 kB / 357.1 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.2566, allocations: 7.984 kB / 357.1 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.2566, allocations: 0 / 357.1 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.2566, allocations: 0 / 357.1 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004396/0.257, allocations: 394.2 kB / 357.5 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002649/0.2573, allocations: 143 kB / 357.7 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.343e-05/0.2574, allocations: 7.984 kB / 357.7 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002764/0.2577, allocations: 23.97 kB / 357.7 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.022e-05/0.2577, allocations: 12.89 kB / 357.7 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.709e-06/0.2577, allocations: 4 kB / 357.7 MB, free: 13.95 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001303/0.259, allocations: 0.935 MB / 358.6 MB, free: 13.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.259, allocations: 0 / 358.6 MB, free: 13.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002197/0.2612, allocations: 0.988 MB / 359.6 MB, free: 12.03 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (7): * Single equations (assignments): 6 * 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.0002565/0.2614, allocations: 141.2 kB / 359.8 MB, free: 11.88 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001368/0.2628, allocations: 1.039 MB / 360.8 MB, free: 10.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2628, allocations: 0 / 360.8 MB, free: 10.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.923e-05/0.2629, allocations: 27.67 kB / 360.8 MB, free: 10.95 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009358/0.2638, allocations: 349 kB / 361.2 MB, free: 10.62 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00839/0.2722, allocations: 5.556 MB / 366.7 MB, free: 5.027 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009415/0.2731, allocations: 1.135 MB / 367.9 MB, free: 3.875 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.001238/0.2744, allocations: 0.7085 MB / 368.6 MB, free: 3.156 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.2745, allocations: 96.5 kB / 368.7 MB, free: 3.062 MB / 298.7 MB Notification: Performance of SimCode: time 1.754e-06/0.2745, allocations: 0 / 368.7 MB, free: 3.062 MB / 298.7 MB Notification: Performance of Templates: time 0.02832/0.3028, allocations: 17.65 MB / 386.3 MB, free: 1.504 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingStar/BalancingStar.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.229916403070092]