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.001385/0.001385, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.00134/0.00134, allocations: 141.7 kB / 24.89 MB, free: 9.207 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.9637/0.9637, allocations: 173.3 MB / 201.5 MB, free: 9.203 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.663e-06/1.663e-06, allocations: 0 / 268.5 MB, free: 6.152 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.286e-05/2.453e-05, allocations: 2.312 kB / 268.5 MB, free: 6.148 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.00759/0.007615, allocations: 9.178 MB / 277.7 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005293/0.01291, allocations: 2.809 MB / 280.5 MB, free: 10.1 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001425/0.01433, allocations: 87.56 kB / 280.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00456/0.01889, allocations: 4.433 MB / 285 MB, free: 5.562 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002801/0.02169, allocations: 0.947 MB / 286 MB, free: 4.609 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.02331, allocations: 0.8053 MB / 286.8 MB, free: 3.805 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1218/0.1451, allocations: 4.219 MB / 291 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01003/0.1552, allocations: 7.273 MB / 298.3 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006366/0.1615, allocations: 3.637 MB / 301.9 MB, free: 11.76 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004752/0.1663, allocations: 2.625 MB / 304.5 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002017/0.1683, allocations: 0.6624 MB / 305.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002816/0.1711, allocations: 0.8856 MB / 306.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001621/0.1727, allocations: 1.28 MB / 307.4 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003039/0.1758, allocations: 1.729 MB / 309.1 MB, free: 9.559 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004653/0.1804, allocations: 4.406 MB / 313.5 MB, free: 7.691 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.1804, allocations: 5.594 kB / 313.5 MB, free: 7.688 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1804, allocations: 0 / 313.5 MB, free: 7.688 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002349/0.1807, allocations: 0 / 313.5 MB, free: 7.688 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.00894/0.1896, allocations: 5.201 MB / 318.7 MB, free: 3.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1896, allocations: 8.031 kB / 318.7 MB, free: 3.742 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00429/0.1939, allocations: 1.729 MB / 320.4 MB, free: 2.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002605/0.1965, allocations: 1.356 MB / 321.8 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001398/0.1967, allocations: 353.2 kB / 322.1 MB, free: 480 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004872/0.1972, allocations: 452.9 kB / 322.6 MB, free: 28 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004481/0.2017, allocations: 2.992 MB / 325.6 MB, free: 12.99 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.532e-05/0.2017, allocations: 7.922 kB / 325.6 MB, free: 12.98 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002859/0.202, allocations: 191.1 kB / 325.8 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001357/0.2021, allocations: 193.5 kB / 326 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001916/0.2041, allocations: 1.144 MB / 327.1 MB, free: 11.44 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01762/0.2217, allocations: 13.17 MB / 340.3 MB, free: 14.58 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001852/0.2235, allocations: 1.333 MB / 341.6 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003029/0.2238, allocations: 258 kB / 341.9 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/0.224, allocations: 44.97 kB / 341.9 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.487e-05/0.224, allocations: 47.03 kB / 341.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=94): time 4.628e-06/0.224, allocations: 0 / 341.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=94): time 0.0007198/0.2247, allocations: 486.3 kB / 342.4 MB, free: 12.45 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.2247, allocations: 60.41 kB / 342.5 MB, free: 12.38 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008593/0.2256, allocations: 1.03 MB / 343.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.61e-05/0.2256, allocations: 41.7 kB / 343.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008081/0.2265, allocations: 1.948 MB / 345.5 MB, free: 9.598 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002108/0.2267, allocations: 363.2 kB / 345.9 MB, free: 9.262 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003762/0.227, allocations: 430.7 kB / 346.3 MB, free: 8.875 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.2272, allocations: 358.8 kB / 346.6 MB, free: 8.543 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003334/0.2275, allocations: 299.1 kB / 346.9 MB, free: 8.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008313/0.2283, allocations: 1.321 MB / 348.2 MB, free: 6.449 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/0.2296, allocations: 1.822 MB / 350.1 MB, free: 4.301 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-05/0.2297, allocations: 8 kB / 350.1 MB, free: 4.293 MB / 298.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.001535/0.2312, allocations: 1.396 MB / 351.5 MB, free: 3.141 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/0.2312, allocations: 24.06 kB / 351.5 MB, free: 3.117 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.736e-05/0.2313, allocations: 43.94 kB / 351.5 MB, free: 3.074 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.245e-05/0.2313, allocations: 52 kB / 351.6 MB, free: 3.023 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009529/0.2323, allocations: 0.5398 MB / 352.1 MB, free: 2.527 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.109e-05/0.2323, allocations: 85.11 kB / 352.2 MB, free: 2.461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008046/0.2331, allocations: 282 kB / 352.5 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/0.2332, allocations: 108 kB / 352.6 MB, free: 2.078 MB / 298.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.001089/0.2343, allocations: 278 kB / 352.9 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/0.2345, allocations: 103.9 kB / 353 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008005/0.2353, allocations: 0.6842 MB / 353.6 MB, free: 1.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003009/0.2356, allocations: 296.5 kB / 353.9 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.2356, allocations: 0 / 353.9 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.2356, allocations: 11.97 kB / 353.9 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005342/0.2409, allocations: 3.36 MB / 357.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.602e-05/0.241, allocations: 23.94 kB / 357.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000379/0.2413, allocations: 201 kB / 357.5 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.88e-05/0.2414, allocations: 24 kB / 357.5 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-05/0.2414, allocations: 40 kB / 357.6 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.06e-05/0.2414, allocations: 35.2 kB / 357.6 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.449e-05/0.2414, allocations: 34.75 kB / 357.7 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.2427, allocations: 1.414 MB / 359.1 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003305/0.2431, allocations: 187.6 kB / 359.3 MB, free: 11.26 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.532e-05/0.2432, allocations: 47.98 kB / 359.3 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003232/0.2435, allocations: 36 kB / 359.3 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.2436, allocations: 132.8 kB / 359.5 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.483e-05/0.2437, allocations: 44 kB / 359.5 MB, free: 11.02 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004141/0.2441, allocations: 439.8 kB / 359.9 MB, free: 10.64 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2441, allocations: 0 / 359.9 MB, free: 10.64 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002365/0.2464, allocations: 0.9608 MB / 360.9 MB, free: 9.676 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.0003421/0.2468, allocations: 187.2 kB / 361.1 MB, free: 9.508 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.2481, allocations: 0.9493 MB / 362 MB, free: 8.723 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.344e-05/0.2482, allocations: 27.84 kB / 362.1 MB, free: 8.695 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002671/0.2484, allocations: 277.3 kB / 362.3 MB, free: 8.492 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.2496, allocations: 392.6 kB / 362.7 MB, free: 8.129 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008538/0.2581, allocations: 6.1 MB / 368.8 MB, free: 1.773 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007911/0.2589, allocations: 0.7897 MB / 369.6 MB, free: 0.957 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000701/0.2596, allocations: 233.6 kB / 369.8 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005032/0.2601, allocations: 341.1 kB / 370.2 MB, free: 396 kB / 314.7 MB Notification: Performance of SimCode: time 2.014e-06/0.2601, allocations: 0 / 370.2 MB, free: 396 kB / 314.7 MB Notification: Performance of Templates: time 0.03049/0.2906, allocations: 18.44 MB / 388.6 MB, free: 14.31 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 -s gbode -gbm=radauIIA3 -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: 2.980493098963052]