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.0009722/0.0009722, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001032/0.001032, allocations: 166 kB / 24.82 MB, free: 9.266 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 0.9629/0.9629, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.182e-06/1.182e-06, allocations: 0 / 273.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.557e-05/1.675e-05, allocations: 2.312 kB / 273.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.007346/0.007363, allocations: 9.141 MB / 282.5 MB, free: 8.066 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00449/0.01185, allocations: 2.709 MB / 285.3 MB, free: 5.348 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008197/0.01267, allocations: 91.56 kB / 285.3 MB, free: 5.258 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004259/0.01693, allocations: 4.34 MB / 289.7 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001788/0.01872, allocations: 0.7954 MB / 290.5 MB, free: 100 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1041/0.1228, allocations: 0.9224 MB / 291.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00394/0.1268, allocations: 4.227 MB / 295.6 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009829/0.1366, allocations: 7.061 MB / 302.7 MB, free: 10.47 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004997/0.1416, allocations: 3.632 MB / 306.3 MB, free: 8.785 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003294/0.1449, allocations: 2.574 MB / 308.9 MB, free: 7.961 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001184/0.1461, allocations: 0.6668 MB / 309.6 MB, free: 7.957 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.1474, allocations: 0.8833 MB / 310.4 MB, free: 7.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006804/0.1481, allocations: 1.285 MB / 311.7 MB, free: 6.973 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001731/0.1498, allocations: 1.732 MB / 313.5 MB, free: 5.453 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003628/0.1534, allocations: 4.416 MB / 317.9 MB, free: 1.875 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1534, allocations: 1.5 kB / 317.9 MB, free: 1.875 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1534, allocations: 0 / 317.9 MB, free: 1.875 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001242/0.1536, allocations: 0 / 317.9 MB, free: 1.875 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.009151/0.1627, allocations: 5.684 MB / 323.6 MB, free: 12.4 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.1628, allocations: 12.84 kB / 323.6 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006452/0.1692, allocations: 1.725 MB / 325.3 MB, free: 10.69 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002852/0.1721, allocations: 2.272 MB / 327.6 MB, free: 8.512 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002282/0.1723, allocations: 348.2 kB / 327.9 MB, free: 8.172 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005538/0.1728, allocations: 460.7 kB / 328.4 MB, free: 7.727 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003632/0.1765, allocations: 2.429 MB / 330.8 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-05/0.1765, allocations: 7.844 kB / 330.8 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002511/0.1768, allocations: 184 kB / 331 MB, free: 5.066 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001275/0.1769, allocations: 201 kB / 331.2 MB, free: 4.871 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002098/0.179, allocations: 1.312 MB / 332.5 MB, free: 3.531 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01554/0.1946, allocations: 17.05 MB / 349.5 MB, free: 2.855 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001974/0.1965, allocations: 1.434 MB / 351 MB, free: 1.504 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000307/0.1968, allocations: 290.1 kB / 351.3 MB, free: 1.223 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.882e-05/0.1969, allocations: 60.94 kB / 351.3 MB, free: 1.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.197, allocations: 50.14 kB / 351.4 MB, free: 1.105 MB / 298.7 MB Notification: Performance of pre-optimization done (n=94): time 3.416e-06/0.197, allocations: 0 / 351.4 MB, free: 1.105 MB / 298.7 MB Notification: Performance of matching and sorting (n=94): time 0.0009666/0.1979, allocations: 0.6636 MB / 352 MB, free: 448 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.198, allocations: 60.41 kB / 352.1 MB, free: 372 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/0.1994, allocations: 1.533 MB / 353.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.833e-05/0.1995, allocations: 41.7 kB / 353.7 MB, free: 14.97 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001436/0.2009, allocations: 2.187 MB / 355.8 MB, free: 12.83 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002554/0.2012, allocations: 379.6 kB / 356.2 MB, free: 12.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006063/0.2018, allocations: 0.544 MB / 356.8 MB, free: 11.97 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.202, allocations: 0.543 MB / 357.3 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003443/0.2023, allocations: 212.2 kB / 357.5 MB, free: 11.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/0.2035, allocations: 1.933 MB / 359.4 MB, free: 8.613 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002174/0.2057, allocations: 2.391 MB / 361.8 MB, free: 5.695 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.402e-05/0.2057, allocations: 12 kB / 361.9 MB, free: 5.684 MB / 314.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.002277/0.208, allocations: 1.697 MB / 363.5 MB, free: 4.223 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.429e-05/0.208, allocations: 31.92 kB / 363.6 MB, free: 4.191 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.241e-05/0.2081, allocations: 40 kB / 363.6 MB, free: 4.152 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.369e-05/0.2081, allocations: 56 kB / 363.7 MB, free: 4.098 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.2093, allocations: 0.5103 MB / 364.2 MB, free: 3.629 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.298e-05/0.2094, allocations: 82.06 kB / 364.3 MB, free: 3.566 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009689/0.2103, allocations: 270.4 kB / 364.5 MB, free: 3.301 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/0.2105, allocations: 104 kB / 364.6 MB, free: 3.199 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.0006755/0.2111, allocations: 325.2 kB / 364.9 MB, free: 2.914 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002017/0.2113, allocations: 167.1 kB / 365.1 MB, free: 2.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.2125, allocations: 0.8388 MB / 365.9 MB, free: 1.934 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000541/0.213, allocations: 410.5 kB / 366.3 MB, free: 1.531 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.213, allocations: 4 kB / 366.4 MB, free: 1.527 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.958e-06/0.213, allocations: 7.969 kB / 366.4 MB, free: 1.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006449/0.2195, allocations: 3.932 MB / 370.3 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.657e-05/0.2195, allocations: 16 kB / 370.3 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004686/0.2199, allocations: 198 kB / 370.5 MB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.028e-05/0.22, allocations: 24 kB / 370.5 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.864e-05/0.22, allocations: 47.98 kB / 370.6 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.301e-05/0.22, allocations: 35.2 kB / 370.6 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.685e-05/0.2201, allocations: 31.16 kB / 370.6 MB, free: 13.28 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.2216, allocations: 1.703 MB / 372.3 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003294/0.222, allocations: 228.1 kB / 372.6 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.2221, allocations: 43.98 kB / 372.6 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005024/0.2226, allocations: 40 kB / 372.6 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.2227, allocations: 133.8 kB / 372.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.877e-05/0.2228, allocations: 44 kB / 372.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006752/0.2235, allocations: 0.6486 MB / 373.5 MB, free: 10.17 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2235, allocations: 4.031 kB / 373.5 MB, free: 10.16 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002364/0.2258, allocations: 0.953 MB / 374.4 MB, free: 9.207 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.0002842/0.2261, allocations: 205 kB / 374.6 MB, free: 9.023 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00144/0.2275, allocations: 1.082 MB / 375.7 MB, free: 8.105 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.2276, allocations: 7.938 kB / 375.7 MB, free: 8.098 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000606/0.2282, allocations: 303.9 kB / 376 MB, free: 7.871 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/0.2298, allocations: 399.8 kB / 376.4 MB, free: 7.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008596/0.2384, allocations: 6.223 MB / 382.6 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001279/0.2397, allocations: 1.122 MB / 383.7 MB, free: 15.79 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007006/0.2404, allocations: 229.7 kB / 384 MB, free: 15.56 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006364/0.241, allocations: 394 kB / 384.4 MB, free: 15.17 MB / 346.7 MB Notification: Performance of SimCode: time 1.002e-06/0.241, allocations: 0 / 384.4 MB, free: 15.17 MB / 346.7 MB Notification: Performance of Templates: time 0.03232/0.2733, allocations: 18.33 MB / 402.7 MB, free: 13.21 MB / 362.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 -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: 2.993634069338441]