Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009213/0.0009213, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009082/0.0009082, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9963/0.9963, allocations: 177 MB / 204.8 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.752e-05/2.914e-05, allocations: 9.203 kB / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.009206/0.009235, allocations: 9.462 MB / 282.4 MB, free: 7.922 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004886/0.01412, allocations: 2.709 MB / 285.1 MB, free: 5.203 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.01525, allocations: 91.56 kB / 285.2 MB, free: 5.113 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004545/0.01979, allocations: 4.481 MB / 289.7 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1206/0.1403, allocations: 0.7859 MB / 290.4 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002464/0.1428, allocations: 0.9486 MB / 291.4 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004409/0.1472, allocations: 4.221 MB / 295.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009169/0.1564, allocations: 7.063 MB / 302.7 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005305/0.1617, allocations: 3.627 MB / 306.3 MB, free: 8.477 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003255/0.165, allocations: 2.565 MB / 308.9 MB, free: 7.648 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001459/0.1664, allocations: 0.6645 MB / 309.5 MB, free: 7.648 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002621/0.169, allocations: 0.8934 MB / 310.4 MB, free: 7.598 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009542/0.17, allocations: 1.274 MB / 311.7 MB, free: 6.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001725/0.1717, allocations: 1.735 MB / 313.4 MB, free: 5.504 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003536/0.1752, allocations: 4.421 MB / 317.9 MB, free: 1.836 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1753, allocations: 0.6562 kB / 317.9 MB, free: 1.836 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1753, allocations: 4.812 kB / 317.9 MB, free: 1.832 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.125e-05/0.1753, allocations: 3.984 kB / 317.9 MB, free: 1.828 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: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.007297/0.1826, allocations: 5.799 MB / 323.7 MB, free: 12.03 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.1827, allocations: 15.98 kB / 323.7 MB, free: 12.01 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004554/0.1872, allocations: 1.842 MB / 325.5 MB, free: 10.19 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003091/0.1903, allocations: 2.449 MB / 328 MB, free: 7.836 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001777/0.1905, allocations: 347.6 kB / 328.3 MB, free: 7.496 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006962/0.1912, allocations: 459.9 kB / 328.8 MB, free: 7.047 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004942/0.1961, allocations: 2.748 MB / 331.5 MB, free: 4.254 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.408e-05/0.1962, allocations: 0 / 331.5 MB, free: 4.254 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002689/0.1965, allocations: 198.6 kB / 331.7 MB, free: 4.066 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001357/0.1966, allocations: 197.5 kB / 331.9 MB, free: 3.871 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003419/0.2, allocations: 1.648 MB / 333.5 MB, free: 2.211 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01905/0.2191, allocations: 17.21 MB / 350.8 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00363/0.2227, allocations: 1.967 MB / 352.7 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000561/0.2233, allocations: 336 kB / 353 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001255/0.2234, allocations: 40.97 kB / 353.1 MB, free: 14.57 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.2234, allocations: 50.39 kB / 353.1 MB, free: 14.51 MB / 314.7 MB Notification: Performance of pre-optimization done (n=94): time 5.65e-06/0.2234, allocations: 3.984 kB / 353.1 MB, free: 14.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=94): time 0.00138/0.2248, allocations: 0.7496 MB / 353.9 MB, free: 13.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.2249, allocations: 60.41 kB / 353.9 MB, free: 13.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001915/0.2268, allocations: 1.567 MB / 355.5 MB, free: 12.1 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.876e-05/0.2268, allocations: 41.7 kB / 355.6 MB, free: 12.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001382/0.2282, allocations: 2.178 MB / 357.7 MB, free: 9.867 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002587/0.2285, allocations: 365.9 kB / 358.1 MB, free: 9.516 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005949/0.2291, allocations: 0.5484 MB / 358.6 MB, free: 8.961 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.2292, allocations: 0.5433 MB / 359.2 MB, free: 8.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005405/0.2298, allocations: 272.2 kB / 359.5 MB, free: 8.141 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001427/0.2312, allocations: 1.978 MB / 361.4 MB, free: 5.422 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002355/0.2336, allocations: 2.472 MB / 363.9 MB, free: 2.363 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.561e-05/0.2336, allocations: 12 kB / 363.9 MB, free: 2.352 MB / 314.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.002715/0.2363, allocations: 1.85 MB / 365.8 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.232e-05/0.2363, allocations: 20.62 kB / 365.8 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.892e-05/0.2364, allocations: 40 kB / 365.8 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.588e-05/0.2364, allocations: 52 kB / 365.9 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.2377, allocations: 0.5415 MB / 366.4 MB, free: 136 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.359e-05/0.2377, allocations: 77.88 kB / 366.5 MB, free: 76 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.2388, allocations: 302 kB / 366.8 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/0.2389, allocations: 124 kB / 366.9 MB, free: 15.66 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * 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 (282): * Single equations (assignments): 281 * 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.0008548/0.2398, allocations: 319.7 kB / 367.2 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002078/0.24, allocations: 170.9 kB / 367.4 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/0.2413, allocations: 0.8925 MB / 368.3 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006903/0.242, allocations: 474.5 kB / 368.7 MB, free: 13.83 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.242, allocations: 0 / 368.7 MB, free: 13.83 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.242, allocations: 3.984 kB / 368.7 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008198/0.2502, allocations: 5.017 MB / 373.8 MB, free: 8.555 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.982e-05/0.2502, allocations: 24.03 kB / 373.8 MB, free: 8.531 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005098/0.2507, allocations: 209 kB / 374 MB, free: 8.344 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.223e-05/0.2507, allocations: 24 kB / 374 MB, free: 8.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.388e-05/0.2508, allocations: 51.98 kB / 374.1 MB, free: 8.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.358e-05/0.2508, allocations: 38.77 kB / 374.1 MB, free: 8.242 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.729e-05/0.2508, allocations: 31.12 kB / 374.1 MB, free: 8.219 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/0.2527, allocations: 1.788 MB / 375.9 MB, free: 6.066 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004138/0.2531, allocations: 246.8 kB / 376.2 MB, free: 5.824 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.2532, allocations: 47.94 kB / 376.2 MB, free: 5.777 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005372/0.2538, allocations: 59.95 kB / 376.3 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.2539, allocations: 142.2 kB / 376.4 MB, free: 5.594 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.463e-05/0.254, allocations: 55.98 kB / 376.5 MB, free: 5.539 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000865/0.2548, allocations: 0.683 MB / 377.1 MB, free: 4.852 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2548, allocations: 7.656 kB / 377.1 MB, free: 4.848 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002642/0.2575, allocations: 0.9492 MB / 378.1 MB, free: 3.895 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * 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 (98): * Single equations (assignments): 97 * 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.0003169/0.2578, allocations: 207.3 kB / 378.3 MB, free: 3.707 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00175/0.2595, allocations: 1.148 MB / 379.4 MB, free: 2.695 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.308e-06/0.2596, allocations: 4 kB / 379.5 MB, free: 2.691 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000431/0.26, allocations: 314.3 kB / 379.8 MB, free: 2.449 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/0.2616, allocations: 393.2 kB / 380.1 MB, free: 2.086 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008846/0.2705, allocations: 6.247 MB / 386.4 MB, free: 11.45 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/0.2715, allocations: 1.122 MB / 387.5 MB, free: 10.3 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001146/0.2726, allocations: 0.7077 MB / 388.2 MB, free: 9.59 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.2728, allocations: 124.5 kB / 388.3 MB, free: 9.469 MB / 346.7 MB Notification: Performance of SimCode: time 2.024e-06/0.2728, allocations: 0 / 388.3 MB, free: 9.469 MB / 346.7 MB Notification: Performance of Templates: time 0.02463/0.2975, allocations: 16.8 MB / 405.1 MB, free: 8.98 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/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.2376267011277378]