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.001866/0.001866, allocations: 84.34 kB / 20.95 MB, free: 3.457 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.002272/0.002272, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 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.469/1.469, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.934e-06/1.934e-06, allocations: 0 / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.005e-05/3.198e-05, allocations: 6.312 kB / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.0175/0.01754, allocations: 8.526 MB / 280.9 MB, free: 9.242 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00624/0.02378, allocations: 2.674 MB / 283.5 MB, free: 6.559 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000924/0.0247, allocations: 91.56 kB / 283.6 MB, free: 6.469 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0104/0.0351, allocations: 4.114 MB / 287.7 MB, free: 2.336 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003435/0.03853, allocations: 0.7954 MB / 288.5 MB, free: 1.535 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002803/0.04134, allocations: 0.9307 MB / 289.5 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1315/0.1729, allocations: 4.219 MB / 293.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00866/0.1815, allocations: 7.06 MB / 300.7 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004539/0.1861, allocations: 3.59 MB / 304.3 MB, free: 9.352 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002411/0.1885, allocations: 2.279 MB / 306.6 MB, free: 8.535 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006681/0.1891, allocations: 0.6674 MB / 307.3 MB, free: 8.531 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.1904, allocations: 0.8859 MB / 308.2 MB, free: 8.484 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006847/0.1911, allocations: 1.259 MB / 309.4 MB, free: 7.656 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001624/0.1927, allocations: 1.706 MB / 311.1 MB, free: 6.832 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006121/0.1988, allocations: 9.018 MB / 320.1 MB, free: 15.03 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1988, allocations: 4.344 kB / 320.1 MB, free: 15.03 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1988, allocations: 0 / 320.1 MB, free: 15.03 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001588/0.199, allocations: 0.625 kB / 320.1 MB, free: 15.03 MB / 282.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.01328/0.2122, allocations: 5.292 MB / 325.4 MB, free: 9.738 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.2123, allocations: 8.031 kB / 325.4 MB, free: 9.73 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0086/0.2209, allocations: 1.85 MB / 327.3 MB, free: 7.906 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005162/0.2261, allocations: 2.706 MB / 330 MB, free: 5.297 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000347/0.2264, allocations: 349.9 kB / 330.3 MB, free: 4.957 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008526/0.2273, allocations: 456.9 kB / 330.8 MB, free: 4.512 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01343/0.2407, allocations: 6.127 MB / 336.9 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001099/0.2408, allocations: 7.938 kB / 336.9 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004971/0.2413, allocations: 184 kB / 337.1 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002407/0.2415, allocations: 193.5 kB / 337.3 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01049/0.252, allocations: 5.268 MB / 342.6 MB, free: 8.684 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03083/0.2828, allocations: 18.37 MB / 360.9 MB, free: 6.137 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00542/0.2883, allocations: 2.082 MB / 363 MB, free: 4.137 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001099/0.2894, allocations: 0.6012 MB / 363.6 MB, free: 3.535 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001502/0.2895, allocations: 44.56 kB / 363.7 MB, free: 3.492 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.718e-05/0.2896, allocations: 47.55 kB / 363.7 MB, free: 3.438 MB / 314.7 MB Notification: Performance of pre-optimization done (n=94): time 3.056e-06/0.2896, allocations: 0 / 363.7 MB, free: 3.438 MB / 314.7 MB Notification: Performance of matching and sorting (n=94): time 0.002674/0.2922, allocations: 1.471 MB / 365.2 MB, free: 1.965 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/0.2923, allocations: 64.41 kB / 365.2 MB, free: 1.887 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002326/0.2946, allocations: 1.527 MB / 366.8 MB, free: 356 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.348e-05/0.2947, allocations: 45.7 kB / 366.8 MB, free: 304 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001764/0.2965, allocations: 2.031 MB / 368.8 MB, free: 14.25 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003845/0.2968, allocations: 360.6 kB / 369.2 MB, free: 13.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007383/0.2976, allocations: 475.8 kB / 369.7 MB, free: 13.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002188/0.2978, allocations: 349.9 kB / 370 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001354/0.2992, allocations: 0.8124 MB / 370.8 MB, free: 12.27 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002541/0.3017, allocations: 1.941 MB / 372.8 MB, free: 9.789 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004026/0.3057, allocations: 2.924 MB / 375.7 MB, free: 6.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.027e-05/0.3057, allocations: 15.75 kB / 375.7 MB, free: 6.469 MB / 330.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004818/0.3106, allocations: 2.919 MB / 378.6 MB, free: 3.785 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.236e-05/0.3106, allocations: 27.75 kB / 378.6 MB, free: 3.762 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.025e-05/0.3107, allocations: 36 kB / 378.7 MB, free: 3.727 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.034e-05/0.3107, allocations: 56.81 kB / 378.7 MB, free: 3.672 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/0.3125, allocations: 0.5365 MB / 379.3 MB, free: 3.176 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.639e-05/0.3126, allocations: 77.03 kB / 379.3 MB, free: 3.117 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/0.3139, allocations: 298 kB / 379.6 MB, free: 2.824 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001961/0.3141, allocations: 128 kB / 379.8 MB, free: 2.699 MB / 330.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.002764/0.3169, allocations: 1.661 MB / 381.4 MB, free: 1.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00034/0.3172, allocations: 179 kB / 381.6 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002493/0.3197, allocations: 1.345 MB / 382.9 MB, free: 15.53 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001533/0.3213, allocations: 0.9357 MB / 383.9 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.3213, allocations: 4 kB / 383.9 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.3213, allocations: 3.984 kB / 383.9 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01711/0.3384, allocations: 10.19 MB / 394.1 MB, free: 4.242 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.84e-05/0.3384, allocations: 16 kB / 394.1 MB, free: 4.227 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007913/0.3392, allocations: 214.1 kB / 394.3 MB, free: 4.035 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.36e-05/0.3392, allocations: 24 kB / 394.3 MB, free: 4.012 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.733e-05/0.3393, allocations: 47.98 kB / 394.4 MB, free: 3.965 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.872e-05/0.3394, allocations: 35.83 kB / 394.4 MB, free: 3.938 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.282e-05/0.3394, allocations: 34.88 kB / 394.4 MB, free: 3.914 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003732/0.3431, allocations: 2.455 MB / 396.9 MB, free: 1.191 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005934/0.3437, allocations: 258.3 kB / 397.1 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001693/0.3439, allocations: 43.98 kB / 397.2 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007539/0.3446, allocations: 63.95 kB / 397.3 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002031/0.3448, allocations: 137.9 kB / 397.4 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.209e-05/0.3449, allocations: 55.98 kB / 397.4 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001669/0.3466, allocations: 0.9892 MB / 398.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3466, allocations: 0 / 398.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003014/0.3496, allocations: 0.9608 MB / 399.4 MB, free: 14.7 MB / 362.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.0003973/0.35, allocations: 202.2 kB / 399.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003162/0.3532, allocations: 1.798 MB / 401.4 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/0.3532, allocations: 4.375 kB / 401.4 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000947/0.3541, allocations: 0.5592 MB / 402 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002382/0.3565, allocations: 396 kB / 402.3 MB, free: 11.99 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01294/0.3695, allocations: 6.952 MB / 409.3 MB, free: 4.762 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003497/0.373, allocations: 2.525 MB / 411.8 MB, free: 2.199 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002193/0.3751, allocations: 0.817 MB / 412.6 MB, free: 1.375 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003135/0.3755, allocations: 120.5 kB / 412.7 MB, free: 1.258 MB / 362.7 MB Notification: Performance of SimCode: time 1.372e-06/0.3755, allocations: 0 / 412.7 MB, free: 1.258 MB / 362.7 MB Notification: Performance of Templates: time 0.03689/0.4123, allocations: 16.93 MB / 429.7 MB, free: 0.6719 MB / 378.7 MB " [Timeout remaining time 659] 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: 5.130963184055872]