Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.0009017/0.0009017, 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.0008696/0.0008696, allocations: 150.2 kB / 24.81 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.9206/0.9206, allocations: 173.3 MB / 201.4 MB, free: 9.191 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.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 268.4 MB, free: 6.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.28e-05, allocations: 2.312 kB / 268.4 MB, free: 6.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.007231/0.007253, allocations: 9.123 MB / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004442/0.0117, allocations: 2.654 MB / 280.2 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.01274, allocations: 87.56 kB / 280.3 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00433/0.01707, allocations: 4.348 MB / 284.6 MB, free: 5.883 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002264/0.01933, allocations: 0.951 MB / 285.6 MB, free: 4.926 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.02052, allocations: 0.8005 MB / 286.4 MB, free: 4.129 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1112/0.1317, allocations: 4.216 MB / 290.6 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01043/0.1421, allocations: 7.058 MB / 297.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005331/0.1475, allocations: 3.615 MB / 301.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004045/0.1515, allocations: 2.58 MB / 303.8 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001606/0.1531, allocations: 0.6652 MB / 304.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002235/0.1554, allocations: 0.8712 MB / 305.4 MB, free: 11.56 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001124/0.1565, allocations: 1.284 MB / 306.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002103/0.1586, allocations: 1.727 MB / 308.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004583/0.1632, allocations: 4.399 MB / 312.8 MB, free: 8.293 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1632, allocations: 0 / 312.8 MB, free: 8.293 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1632, allocations: 6.062 kB / 312.8 MB, free: 8.293 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001193/0.1633, allocations: 0 / 312.8 MB, free: 8.293 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.009296/0.1726, allocations: 5.673 MB / 318.5 MB, free: 4.125 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.1726, allocations: 13.28 kB / 318.5 MB, free: 4.113 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006327/0.179, allocations: 1.722 MB / 320.2 MB, free: 2.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004067/0.183, allocations: 2.277 MB / 322.5 MB, free: 328 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002176/0.1833, allocations: 349.6 kB / 322.8 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008546/0.1841, allocations: 452.9 kB / 323.3 MB, free: 15.54 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005836/0.1899, allocations: 2.42 MB / 325.7 MB, free: 13.08 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.414e-05/0.19, allocations: 11.89 kB / 325.7 MB, free: 13.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000395/0.1904, allocations: 187.1 kB / 325.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000199/0.1906, allocations: 193.5 kB / 326.1 MB, free: 12.7 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003602/0.1942, allocations: 1.309 MB / 327.4 MB, free: 11.36 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02778/0.222, allocations: 17.03 MB / 344.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001894/0.2239, allocations: 1.435 MB / 345.8 MB, free: 9.348 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003055/0.2242, allocations: 285.6 kB / 346.1 MB, free: 9.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.772e-05/0.2243, allocations: 39.86 kB / 346.2 MB, free: 9.031 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.2243, allocations: 46.39 kB / 346.2 MB, free: 8.977 MB / 298.7 MB Notification: Performance of pre-optimization done (n=94): time 2.856e-06/0.2243, allocations: 7.938 kB / 346.2 MB, free: 8.969 MB / 298.7 MB Notification: Performance of matching and sorting (n=94): time 0.000841/0.2252, allocations: 0.6591 MB / 346.9 MB, free: 8.312 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.2252, allocations: 60.41 kB / 346.9 MB, free: 8.238 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.2265, allocations: 1.531 MB / 348.5 MB, free: 6.895 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.856e-05/0.2266, allocations: 41.7 kB / 348.5 MB, free: 6.848 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00102/0.2276, allocations: 2.19 MB / 350.7 MB, free: 4.703 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002362/0.2278, allocations: 371.2 kB / 351.1 MB, free: 4.359 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004595/0.2283, allocations: 0.5394 MB / 351.6 MB, free: 3.852 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0004091/0.2287, allocations: 0.5435 MB / 352.1 MB, free: 3.324 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.2289, allocations: 212.2 kB / 352.3 MB, free: 3.113 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/0.2299, allocations: 1.932 MB / 354.3 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.2315, allocations: 2.381 MB / 356.7 MB, free: 13.58 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.999e-05/0.2315, allocations: 12 kB / 356.7 MB, free: 13.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.001978/0.2335, allocations: 1.693 MB / 358.4 MB, free: 12.12 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.2335, allocations: 32.56 kB / 358.4 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.77e-05/0.2336, allocations: 36 kB / 358.4 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.991e-05/0.2336, allocations: 56 kB / 358.5 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008426/0.2344, allocations: 0.5094 MB / 359 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-05/0.2345, allocations: 81.41 kB / 359.1 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007569/0.2352, allocations: 278 kB / 359.3 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.574e-05/0.2353, allocations: 108 kB / 359.5 MB, free: 11.09 MB / 314.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.0008283/0.2362, allocations: 321.5 kB / 359.8 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.2363, allocations: 163.1 kB / 359.9 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008711/0.2372, allocations: 0.8418 MB / 360.8 MB, free: 9.832 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000385/0.2376, allocations: 406.6 kB / 361.2 MB, free: 9.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.2376, allocations: 0 / 361.2 MB, free: 9.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.2376, allocations: 3.984 kB / 361.2 MB, free: 9.426 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004974/0.2426, allocations: 3.816 MB / 365 MB, free: 5.605 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/0.2426, allocations: 23.38 kB / 365 MB, free: 5.586 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003487/0.2429, allocations: 192 kB / 365.2 MB, free: 5.414 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.527e-05/0.2429, allocations: 24.75 kB / 365.2 MB, free: 5.391 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.36e-05/0.243, allocations: 47.94 kB / 365.3 MB, free: 5.344 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.727e-05/0.243, allocations: 40.98 kB / 365.3 MB, free: 5.312 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.288e-05/0.243, allocations: 30.94 kB / 365.3 MB, free: 5.289 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/0.2444, allocations: 1.685 MB / 367 MB, free: 3.262 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003003/0.2447, allocations: 221.7 kB / 367.2 MB, free: 3.051 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.029e-05/0.2448, allocations: 43.98 kB / 367.3 MB, free: 3.008 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003399/0.2451, allocations: 40 kB / 367.3 MB, free: 2.969 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.871e-05/0.2452, allocations: 132.9 kB / 367.4 MB, free: 2.855 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.482e-05/0.2453, allocations: 51.98 kB / 367.5 MB, free: 2.805 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000532/0.2458, allocations: 0.645 MB / 368.1 MB, free: 2.207 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2458, allocations: 0 / 368.1 MB, free: 2.207 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00216/0.248, allocations: 0.9608 MB / 369.1 MB, free: 1.242 MB / 314.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.00028/0.2483, allocations: 214.5 kB / 369.3 MB, free: 1.051 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001301/0.2496, allocations: 1.078 MB / 370.4 MB, free: 140 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.2496, allocations: 0 / 370.4 MB, free: 140 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000297/0.2499, allocations: 299.7 kB / 370.7 MB, free: 15.91 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.2511, allocations: 398.3 kB / 371.1 MB, free: 15.54 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007976/0.259, allocations: 6.255 MB / 377.3 MB, free: 8.941 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009841/0.26, allocations: 1.122 MB / 378.5 MB, free: 7.789 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000611/0.2606, allocations: 233.6 kB / 378.7 MB, free: 7.555 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004996/0.2611, allocations: 390 kB / 379.1 MB, free: 7.172 MB / 330.7 MB Notification: Performance of SimCode: time 1.022e-06/0.2611, allocations: 0 / 379.1 MB, free: 7.172 MB / 330.7 MB Notification: Performance of Templates: time 0.02903/0.2902, allocations: 18.24 MB / 397.3 MB, free: 5.289 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.0607193778268993]