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.001691/0.001691, allocations: 109.2 kB / 20.43 MB, free: 1.473 MB / 14.72 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.001954/0.001954, allocations: 213.7 kB / 23.74 MB, free: 4.688 MB / 14.72 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.446/1.446, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 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 0.001596/0.001596, allocations: 47.92 kB / 378.3 MB, free: 2.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2437, allocations: 53.37 MB / 431.6 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01191/0.2556, allocations: 9.797 MB / 441.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00523/0.2608, allocations: 2.775 MB / 444.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007935/0.2616, allocations: 91.56 kB / 444.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008977/0.2706, allocations: 4.237 MB / 448.5 MB, free: 5.953 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002259/0.2728, allocations: 0.7867 MB / 449.3 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002047/0.2749, allocations: 0.9834 MB / 450.3 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004354/0.2792, allocations: 4.082 MB / 454.4 MB, free: 88 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009338/0.2886, allocations: 7.122 MB / 461.5 MB, free: 8.844 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003048/0.2916, allocations: 2.42 MB / 463.9 MB, free: 6.418 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003625/0.2953, allocations: 2.659 MB / 466.6 MB, free: 3.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008573/0.2961, allocations: 0.6641 MB / 467.3 MB, free: 3.086 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001532/0.2976, allocations: 0.8943 MB / 468.2 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001143/0.2988, allocations: 1.243 MB / 469.4 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00303/0.3018, allocations: 2.56 MB / 472 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00953/0.3113, allocations: 8.925 MB / 480.9 MB, free: 5.422 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3114, allocations: 7.938 kB / 480.9 MB, free: 5.414 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3114, allocations: 0 / 480.9 MB, free: 5.414 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001307/0.3115, allocations: 0 / 480.9 MB, free: 5.414 MB / 382.1 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.01211/0.3236, allocations: 5.335 MB / 486.2 MB, free: 24 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.231e-05/0.3237, allocations: 8.031 kB / 486.2 MB, free: 16 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007849/0.3315, allocations: 1.316 MB / 487.6 MB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005292/0.3368, allocations: 2.592 MB / 490.1 MB, free: 12.08 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002795/0.3371, allocations: 349.4 kB / 490.5 MB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000687/0.3378, allocations: 459.9 kB / 490.9 MB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0113/0.3491, allocations: 6.102 MB / 497 MB, free: 5.141 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.64e-05/0.3492, allocations: 0 / 497 MB, free: 5.141 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004376/0.3496, allocations: 195.9 kB / 497.2 MB, free: 4.949 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001959/0.3498, allocations: 197.5 kB / 497.4 MB, free: 4.754 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009291/0.3591, allocations: 5.284 MB / 0.4909 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02991/0.389, allocations: 20.22 MB / 0.5107 GB, free: 10.6 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005125/0.3941, allocations: 2.104 MB / 0.5127 GB, free: 8.566 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000979/0.3951, allocations: 0.5962 MB / 0.5133 GB, free: 7.969 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001463/0.3952, allocations: 44.92 kB / 0.5133 GB, free: 7.922 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.3953, allocations: 51.44 kB / 0.5134 GB, free: 7.863 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 2.735e-06/0.3953, allocations: 4 kB / 0.5134 GB, free: 7.859 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002341/0.3976, allocations: 1.44 MB / 0.5148 GB, free: 6.414 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.3977, allocations: 60.41 kB / 0.5149 GB, free: 6.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00197/0.3996, allocations: 1.466 MB / 0.5163 GB, free: 4.863 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.114e-05/0.3997, allocations: 41.7 kB / 0.5163 GB, free: 4.816 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001436/0.4011, allocations: 2.037 MB / 0.5183 GB, free: 2.758 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000305/0.4014, allocations: 365.1 kB / 0.5187 GB, free: 2.398 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006389/0.4021, allocations: 483.8 kB / 0.5191 GB, free: 1.918 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.4022, allocations: 353.9 kB / 0.5195 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/0.4035, allocations: 0.8124 MB / 0.5203 GB, free: 0.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002188/0.4057, allocations: 1.941 MB / 0.5222 GB, free: 14.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00358/0.4092, allocations: 2.927 MB / 0.525 GB, free: 10.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.825e-05/0.4093, allocations: 12 kB / 0.525 GB, free: 10.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004341/0.4136, allocations: 2.802 MB / 0.5278 GB, free: 7.953 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/0.4136, allocations: 32.19 kB / 0.5278 GB, free: 7.922 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.216e-05/0.4137, allocations: 36 kB / 0.5278 GB, free: 7.887 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.999e-05/0.4138, allocations: 56 kB / 0.5279 GB, free: 7.832 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001739/0.4155, allocations: 0.542 MB / 0.5284 GB, free: 7.289 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.87e-05/0.4156, allocations: 79.72 kB / 0.5285 GB, free: 7.211 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.4168, allocations: 294 kB / 0.5288 GB, free: 6.922 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/0.417, allocations: 132 kB / 0.5289 GB, free: 6.793 MB / 446.1 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.002531/0.4195, allocations: 1.664 MB / 0.5305 GB, free: 5.117 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002148/0.4197, allocations: 139 kB / 0.5307 GB, free: 4.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00221/0.422, allocations: 1.338 MB / 0.532 GB, free: 3.625 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001416/0.4234, allocations: 0.9435 MB / 0.5329 GB, free: 2.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.4234, allocations: 0 / 0.5329 GB, free: 2.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.4234, allocations: 7.922 kB / 0.5329 GB, free: 2.672 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.214/0.6374, allocations: 11.1 MB / 0.5437 GB, free: 92.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.215e-05/0.6374, allocations: 23.38 kB / 0.5437 GB, free: 92.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007209/0.6381, allocations: 218.2 kB / 0.544 GB, free: 92.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.076e-05/0.6382, allocations: 23.38 kB / 0.544 GB, free: 92.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.961e-05/0.6382, allocations: 47.23 kB / 0.544 GB, free: 92.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.041e-05/0.6383, allocations: 35.14 kB / 0.5441 GB, free: 92.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-05/0.6383, allocations: 31.66 kB / 0.5441 GB, free: 92.87 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002344/0.6406, allocations: 2.469 MB / 0.5465 GB, free: 91.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005905/0.6412, allocations: 253.2 kB / 0.5467 GB, free: 91.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002558/0.6415, allocations: 48.31 kB / 0.5468 GB, free: 91.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007957/0.6423, allocations: 59.7 kB / 0.5468 GB, free: 91.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.6424, allocations: 138.8 kB / 0.547 GB, free: 91.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.44e-05/0.6425, allocations: 57.8 kB / 0.547 GB, free: 91.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001267/0.6437, allocations: 0.993 MB / 0.548 GB, free: 90.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6437, allocations: 2.156 kB / 0.548 GB, free: 90.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002443/0.6462, allocations: 0.948 MB / 0.5489 GB, free: 90.74 MB / 446.1 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.0002914/0.6465, allocations: 198.7 kB / 0.5491 GB, free: 90.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002129/0.6486, allocations: 1.808 MB / 0.5509 GB, free: 89.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/0.6486, allocations: 0 / 0.5509 GB, free: 89.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006216/0.6492, allocations: 0.5653 MB / 0.5514 GB, free: 89.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001982/0.6512, allocations: 389.5 kB / 0.5518 GB, free: 89.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009118/0.6603, allocations: 6.899 MB / 0.5585 GB, free: 84.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002766/0.6631, allocations: 3.081 MB / 0.5616 GB, free: 81.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001611/0.6647, allocations: 0.8065 MB / 0.5623 GB, free: 80.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002984/0.665, allocations: 123.4 kB / 0.5625 GB, free: 80.8 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/0.665, allocations: 4 kB / 0.5625 GB, free: 80.8 MB / 446.1 MB Notification: Performance of Templates: time 0.03199/0.697, allocations: 20.23 MB / 0.5822 GB, free: 60.71 MB / 446.1 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.302487450884655]