Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.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.0008936/0.0008936, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009512/0.0009512, allocations: 171.9 kB / 24.92 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.006/1.006, allocations: 177.1 MB / 205.3 MB, free: 5.102 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 273.5 MB, free: 1.129 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.582e-05/1.713e-05, allocations: 2.312 kB / 273.5 MB, free: 1.125 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01871/0.01873, allocations: 9.204 MB / 282.7 MB, free: 7.879 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01209/0.03082, allocations: 2.852 MB / 285.6 MB, free: 5.016 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003896/0.03472, allocations: 87.56 kB / 285.6 MB, free: 4.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01183/0.04655, allocations: 4.437 MB / 290.1 MB, free: 484 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1249/0.1715, allocations: 0.7944 MB / 290.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00219/0.1737, allocations: 0.9365 MB / 291.8 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003626/0.1773, allocations: 4.221 MB / 296 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007379/0.1847, allocations: 7.275 MB / 303.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003698/0.1884, allocations: 3.638 MB / 306.9 MB, free: 8.453 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002332/0.1907, allocations: 2.63 MB / 309.6 MB, free: 7.645 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005688/0.1913, allocations: 0.6673 MB / 310.2 MB, free: 7.645 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000972/0.1923, allocations: 0.8986 MB / 311.1 MB, free: 7.504 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004852/0.1927, allocations: 1.285 MB / 312.4 MB, free: 6.441 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009069/0.1936, allocations: 1.73 MB / 314.2 MB, free: 4.922 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002762/0.1964, allocations: 4.428 MB / 318.6 MB, free: 1.176 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.1964, allocations: 0 / 318.6 MB, free: 1.176 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1964, allocations: 0.8125 kB / 318.6 MB, free: 1.176 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.00015/0.1966, allocations: 0 / 318.6 MB, free: 1.176 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.007591/0.2042, allocations: 5.206 MB / 323.8 MB, free: 12.23 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.2042, allocations: 12.91 kB / 323.8 MB, free: 12.21 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004671/0.2089, allocations: 1.744 MB / 325.5 MB, free: 10.53 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005972/0.2148, allocations: 1.36 MB / 326.9 MB, free: 9.266 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002092/0.2151, allocations: 348.9 kB / 327.2 MB, free: 8.926 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006711/0.2157, allocations: 455.4 kB / 327.7 MB, free: 8.484 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00524/0.221, allocations: 2.997 MB / 330.7 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.436e-05/0.221, allocations: 8.547 kB / 330.7 MB, free: 5.43 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003039/0.2213, allocations: 187.8 kB / 330.9 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001439/0.2215, allocations: 194.8 kB / 331.1 MB, free: 5.059 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002193/0.2237, allocations: 1.152 MB / 332.2 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01455/0.2382, allocations: 13.19 MB / 345.4 MB, free: 7.016 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001885/0.2401, allocations: 1.342 MB / 346.8 MB, free: 5.699 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002903/0.2404, allocations: 264.5 kB / 347 MB, free: 5.449 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.2405, allocations: 52 kB / 347.1 MB, free: 5.398 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.2405, allocations: 39.56 kB / 347.1 MB, free: 5.352 MB / 298.7 MB Notification: Performance of pre-optimization done (n=94): time 3.918e-06/0.2405, allocations: 0 / 347.1 MB, free: 5.352 MB / 298.7 MB Notification: Performance of matching and sorting (n=94): time 0.000708/0.2412, allocations: 485.9 kB / 347.6 MB, free: 4.879 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.2413, allocations: 68.39 kB / 347.6 MB, free: 4.801 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007424/0.242, allocations: 1.034 MB / 348.7 MB, free: 3.957 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.306e-05/0.2421, allocations: 37.7 kB / 348.7 MB, free: 3.914 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007119/0.2428, allocations: 1.946 MB / 350.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003154/0.2431, allocations: 367.2 kB / 351 MB, free: 1.676 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003353/0.2434, allocations: 434.1 kB / 351.4 MB, free: 1.285 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.108e-05/0.2435, allocations: 355.5 kB / 351.8 MB, free: 0.957 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003107/0.2438, allocations: 303.4 kB / 352.1 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007023/0.2445, allocations: 1.328 MB / 353.4 MB, free: 14.85 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.2458, allocations: 1.817 MB / 355.2 MB, free: 12.7 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.549e-05/0.2458, allocations: 12 kB / 355.2 MB, free: 12.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.001304/0.2471, allocations: 1.397 MB / 356.6 MB, free: 11.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/0.2471, allocations: 23.98 kB / 356.7 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-05/0.2471, allocations: 43.94 kB / 356.7 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.987e-05/0.2472, allocations: 52 kB / 356.8 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000907/0.2481, allocations: 0.552 MB / 357.3 MB, free: 10.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.576e-05/0.2481, allocations: 74.78 kB / 357.4 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006423/0.2488, allocations: 270 kB / 357.6 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002327/0.249, allocations: 99.98 kB / 357.7 MB, free: 10.48 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.0005034/0.2495, allocations: 282.4 kB / 358 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.2496, allocations: 99.91 kB / 358.1 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006971/0.2503, allocations: 0.6848 MB / 358.8 MB, free: 9.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002793/0.2506, allocations: 307.6 kB / 359.1 MB, free: 9.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.2506, allocations: 0 / 359.1 MB, free: 9.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.2506, allocations: 7.969 kB / 359.1 MB, free: 9.172 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004261/0.2549, allocations: 3.432 MB / 362.5 MB, free: 5.789 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/0.2549, allocations: 23.94 kB / 362.6 MB, free: 5.766 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003603/0.2552, allocations: 193.8 kB / 362.8 MB, free: 5.594 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.597e-05/0.2553, allocations: 28 kB / 362.8 MB, free: 5.566 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.341e-05/0.2553, allocations: 43.98 kB / 362.8 MB, free: 5.523 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.628e-05/0.2553, allocations: 39.45 kB / 362.9 MB, free: 5.496 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.309e-05/0.2553, allocations: 27.31 kB / 362.9 MB, free: 5.477 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.2564, allocations: 1.414 MB / 364.3 MB, free: 3.773 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002109/0.2566, allocations: 184.7 kB / 364.5 MB, free: 3.598 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.358e-05/0.2567, allocations: 51.92 kB / 364.5 MB, free: 3.547 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000318/0.257, allocations: 36 kB / 364.6 MB, free: 3.512 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.2571, allocations: 129.4 kB / 364.7 MB, free: 3.402 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/0.2572, allocations: 47.98 kB / 364.7 MB, free: 3.355 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004915/0.2577, allocations: 442.4 kB / 365.2 MB, free: 2.973 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2577, allocations: 0 / 365.2 MB, free: 2.973 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001799/0.2595, allocations: 0.9569 MB / 366.1 MB, free: 2.012 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.0002551/0.2597, allocations: 185 kB / 366.3 MB, free: 1.84 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008919/0.2606, allocations: 0.9368 MB / 367.2 MB, free: 1.066 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-05/0.2607, allocations: 35.91 kB / 367.3 MB, free: 1.031 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000257/0.2609, allocations: 280.9 kB / 367.6 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.262, allocations: 398.3 kB / 367.9 MB, free: 468 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006867/0.2689, allocations: 6.065 MB / 374 MB, free: 10.14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007053/0.2696, allocations: 0.7858 MB / 374.8 MB, free: 9.332 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005512/0.2701, allocations: 237.6 kB / 375 MB, free: 9.094 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005022/0.2706, allocations: 345.1 kB / 375.4 MB, free: 8.754 MB / 330.7 MB Notification: Performance of SimCode: time 1.884e-06/0.2706, allocations: 0 / 375.4 MB, free: 8.754 MB / 330.7 MB Notification: Performance of Templates: time 0.02739/0.298, allocations: 18.52 MB / 393.9 MB, free: 6.609 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.006063099950552]