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.001061/0.001061, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.006121/0.006121, allocations: 160 kB / 24.7 MB, free: 9.426 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.909/0.909, allocations: 177.1 MB / 205 MB, free: 5.734 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.573e-06/1.573e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.441e-05, allocations: 6.219 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.006152/0.006176, allocations: 8.525 MB / 334.4 MB, free: 6.855 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002959/0.009135, allocations: 2.655 MB / 337 MB, free: 4.191 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004072/0.009543, allocations: 95.5 kB / 337.1 MB, free: 4.098 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003235/0.01278, allocations: 4.123 MB / 341.2 MB, free: 15.96 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001164/0.01394, allocations: 0.7948 MB / 342 MB, free: 15.16 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009716/0.01491, allocations: 0.9335 MB / 343 MB, free: 14.23 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002361/0.01727, allocations: 4.235 MB / 347.2 MB, free: 9.98 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005628/0.0229, allocations: 7.063 MB / 354.3 MB, free: 2.801 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003026/0.02593, allocations: 3.592 MB / 357.9 MB, free: 15.2 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002116/0.02804, allocations: 2.281 MB / 360.1 MB, free: 12.92 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005128/0.02856, allocations: 0.6602 MB / 360.8 MB, free: 12.26 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000974/0.02953, allocations: 0.8863 MB / 361.7 MB, free: 11.37 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006472/0.03018, allocations: 1.258 MB / 362.9 MB, free: 10.11 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001232/0.03141, allocations: 1.715 MB / 364.7 MB, free: 8.391 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005532/0.03694, allocations: 9.011 MB / 373.7 MB, free: 15.36 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.03695, allocations: 0 / 373.7 MB, free: 15.36 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.03695, allocations: 0 / 373.7 MB, free: 15.36 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.318e-05/0.03702, allocations: 0 / 373.7 MB, free: 15.36 MB / 346.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.00638/0.0434, allocations: 5.292 MB / 379 MB, free: 10.01 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.04344, allocations: 12.03 kB / 379 MB, free: 9.996 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003593/0.04703, allocations: 1.317 MB / 380.3 MB, free: 8.676 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002866/0.0499, allocations: 2.601 MB / 382.9 MB, free: 6.039 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/0.05005, allocations: 353.7 kB / 383.2 MB, free: 5.691 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003927/0.05044, allocations: 452.3 kB / 383.7 MB, free: 5.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006499/0.05694, allocations: 6.131 MB / 389.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-05/0.05701, allocations: 3.953 kB / 389.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002743/0.05728, allocations: 192 kB / 390 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001136/0.0574, allocations: 197.5 kB / 390.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005398/0.0628, allocations: 5.268 MB / 395.5 MB, free: 9.402 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01528/0.07808, allocations: 17.77 MB / 413.2 MB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002591/0.08067, allocations: 2.08 MB / 415.3 MB, free: 4.996 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005895/0.08126, allocations: 0.6001 MB / 415.9 MB, free: 4.398 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.606e-05/0.08135, allocations: 44.89 kB / 416 MB, free: 4.352 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.08138, allocations: 43.56 kB / 416 MB, free: 4.301 MB / 378.7 MB Notification: Performance of pre-optimization done (n=94): time 3.377e-06/0.08139, allocations: 0 / 416 MB, free: 4.301 MB / 378.7 MB Notification: Performance of matching and sorting (n=94): time 0.001688/0.08307, allocations: 1.437 MB / 417.4 MB, free: 2.859 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.08311, allocations: 64.41 kB / 417.5 MB, free: 2.781 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.08432, allocations: 1.527 MB / 419 MB, free: 1.242 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/0.08437, allocations: 37.7 kB / 419.1 MB, free: 1.199 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007743/0.08514, allocations: 2.041 MB / 421.1 MB, free: 15.13 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001762/0.08532, allocations: 357.1 kB / 421.4 MB, free: 14.78 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003825/0.0857, allocations: 475.9 kB / 421.9 MB, free: 14.31 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.501e-05/0.08579, allocations: 345.9 kB / 422.3 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000708/0.0865, allocations: 0.8163 MB / 423.1 MB, free: 13.14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/0.08792, allocations: 1.945 MB / 425 MB, free: 10.64 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001939/0.08986, allocations: 2.931 MB / 427.9 MB, free: 7.168 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.518e-05/0.08987, allocations: 8 kB / 428 MB, free: 7.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.002652/0.09253, allocations: 2.805 MB / 430.8 MB, free: 4.348 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.09255, allocations: 21 kB / 430.8 MB, free: 4.328 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.509e-05/0.09258, allocations: 40 kB / 430.8 MB, free: 4.289 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.04e-05/0.09262, allocations: 56 kB / 430.9 MB, free: 4.234 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008274/0.09345, allocations: 0.542 MB / 431.4 MB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.933e-05/0.09349, allocations: 75.72 kB / 431.5 MB, free: 3.617 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006973/0.09418, allocations: 297.9 kB / 431.8 MB, free: 3.324 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.953e-05/0.09428, allocations: 128 kB / 431.9 MB, free: 3.199 MB / 394.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.001602/0.09588, allocations: 1.664 MB / 433.6 MB, free: 1.523 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.096, allocations: 143 kB / 433.7 MB, free: 1.383 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.09723, allocations: 1.337 MB / 435 MB, free: 24 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007996/0.09803, allocations: 0.9358 MB / 436 MB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.09804, allocations: 0 / 436 MB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.09805, allocations: 11.92 kB / 436 MB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009032/0.1071, allocations: 10.18 MB / 446.2 MB, free: 4.582 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.34e-05/0.1071, allocations: 16 kB / 446.2 MB, free: 4.566 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003554/0.1074, allocations: 215.6 kB / 446.4 MB, free: 4.355 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.419e-05/0.1075, allocations: 24.78 kB / 446.4 MB, free: 4.332 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.425e-05/0.1075, allocations: 47.98 kB / 446.5 MB, free: 4.285 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.54e-05/0.1075, allocations: 39.86 kB / 446.5 MB, free: 4.246 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.196e-05/0.1075, allocations: 27.88 kB / 446.5 MB, free: 4.219 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001796/0.1093, allocations: 2.432 MB / 449 MB, free: 1.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003122/0.1096, allocations: 250.8 kB / 449.2 MB, free: 1.254 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.424e-05/0.1097, allocations: 43.98 kB / 449.3 MB, free: 1.211 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003574/0.1101, allocations: 59.95 kB / 449.3 MB, free: 1.152 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.353e-05/0.1102, allocations: 147.4 kB / 449.5 MB, free: 1.008 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.245e-05/0.1102, allocations: 52 kB / 449.5 MB, free: 0.957 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.1673/0.2775, allocations: 0.9869 MB / 450.5 MB, free: 108.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.2775, allocations: 0 / 450.5 MB, free: 108.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00321/0.2807, allocations: 0.9536 MB / 451.4 MB, free: 108.6 MB / 410.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.0004859/0.2812, allocations: 204 kB / 451.6 MB, free: 108.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002561/0.2837, allocations: 1.796 MB / 453.4 MB, free: 108.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.057e-05/0.2838, allocations: 7.281 kB / 453.4 MB, free: 108.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006749/0.2844, allocations: 0.5616 MB / 454 MB, free: 108.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/0.2859, allocations: 381.5 kB / 454.4 MB, free: 108.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007342/0.2932, allocations: 6.738 MB / 461.1 MB, free: 104.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00151/0.2947, allocations: 2.441 MB / 463.6 MB, free: 104 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003055/0.295, allocations: 139.3 kB / 463.7 MB, free: 104 MB / 410.7 MB Notification: Performance of SimCode: time 1.212e-06/0.295, allocations: 4 kB / 463.7 MB, free: 104 MB / 410.7 MB Notification: Performance of Templates: time 0.03582/0.3308, allocations: 40.45 MB / 0.4923 GB, free: 66.17 MB / 410.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.164121398702264]