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.001577/0.001577, allocations: 111 kB / 21.19 MB, free: 0.6758 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.002003/0.002003, allocations: 215.5 kB / 24.48 MB, free: 3.98 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 2.017/2.017, allocations: 230.6 MB / 258.2 MB, free: 7.816 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.001902/0.001902, allocations: 43.94 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4723/0.4742, allocations: 53.37 MB / 432.3 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.02371/0.4979, allocations: 8.513 MB / 440.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01672/0.5146, allocations: 2.655 MB / 443.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007494/0.5153, allocations: 99.5 kB / 443.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01007/0.5254, allocations: 3.879 MB / 447.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003145/0.5286, allocations: 0.78 MB / 448.3 MB, free: 6.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002659/0.5312, allocations: 0.9406 MB / 449.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005336/0.5366, allocations: 4.082 MB / 453.3 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01177/0.5483, allocations: 7.117 MB / 460.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003634/0.552, allocations: 2.416 MB / 462.8 MB, free: 8.074 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004186/0.5561, allocations: 2.667 MB / 465.5 MB, free: 5.398 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001076/0.5572, allocations: 0.6641 MB / 466.1 MB, free: 4.734 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0019/0.5591, allocations: 0.8943 MB / 467 MB, free: 3.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00127/0.5604, allocations: 1.247 MB / 468.3 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002559/0.563, allocations: 1.981 MB / 470.3 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01076/0.5737, allocations: 8.971 MB / 479.2 MB, free: 7.605 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.5737, allocations: 0 / 479.2 MB, free: 7.605 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5737, allocations: 4 kB / 479.2 MB, free: 7.602 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001451/0.5739, allocations: 0 / 479.2 MB, free: 7.602 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.01536/0.5892, allocations: 5.327 MB / 484.6 MB, free: 2.219 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.5893, allocations: 12.03 kB / 484.6 MB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01026/0.5995, allocations: 1.313 MB / 485.9 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006511/0.606, allocations: 2.602 MB / 488.5 MB, free: 14.26 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003507/0.6064, allocations: 353.3 kB / 488.8 MB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009341/0.6073, allocations: 452 kB / 489.3 MB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01399/0.6213, allocations: 6.127 MB / 495.4 MB, free: 7.297 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001102/0.6214, allocations: 0 / 495.4 MB, free: 7.297 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005914/0.622, allocations: 204 kB / 495.6 MB, free: 7.098 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002439/0.6223, allocations: 193.5 kB / 495.8 MB, free: 6.906 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01146/0.6337, allocations: 5.268 MB / 0.4893 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03314/0.6669, allocations: 17.76 MB / 0.5067 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006556/0.6734, allocations: 2.069 MB / 0.5087 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001251/0.6747, allocations: 0.5962 MB / 0.5093 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001578/0.6748, allocations: 40.95 kB / 0.5093 GB, free: 12.6 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.087e-05/0.6749, allocations: 47.56 kB / 0.5094 GB, free: 12.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 4.699e-06/0.6749, allocations: 0 / 0.5094 GB, free: 12.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002973/0.6779, allocations: 1.437 MB / 0.5108 GB, free: 11.11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.24e-05/0.6779, allocations: 64.41 kB / 0.5108 GB, free: 11.03 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002543/0.6805, allocations: 1.527 MB / 0.5123 GB, free: 9.488 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.179e-05/0.6805, allocations: 41.7 kB / 0.5123 GB, free: 9.441 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001718/0.6823, allocations: 2.045 MB / 0.5143 GB, free: 7.375 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003705/0.6826, allocations: 361.1 kB / 0.5147 GB, free: 7.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007738/0.6834, allocations: 475.9 kB / 0.5151 GB, free: 6.547 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.6836, allocations: 357.9 kB / 0.5155 GB, free: 6.191 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/0.6851, allocations: 0.8085 MB / 0.5163 GB, free: 5.379 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002708/0.6878, allocations: 1.941 MB / 0.5182 GB, free: 2.879 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00441/0.6923, allocations: 2.939 MB / 0.521 GB, free: 15.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.559e-05/0.6923, allocations: 12 kB / 0.521 GB, free: 15.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.006562/0.6988, allocations: 2.806 MB / 0.5238 GB, free: 12.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.544e-05/0.6989, allocations: 24 kB / 0.5238 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.367e-05/0.6989, allocations: 39.98 kB / 0.5238 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.535e-05/0.699, allocations: 56 kB / 0.5239 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002344/0.7014, allocations: 0.5381 MB / 0.5244 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-05/0.7015, allocations: 75.72 kB / 0.5245 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/0.7032, allocations: 302.1 kB / 0.5248 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002132/0.7034, allocations: 124 kB / 0.5249 GB, free: 11.42 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.002956/0.7064, allocations: 1.671 MB / 0.5265 GB, free: 9.734 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002575/0.7066, allocations: 135.1 kB / 0.5267 GB, free: 9.602 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002899/0.7095, allocations: 1.341 MB / 0.528 GB, free: 8.242 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001783/0.7113, allocations: 0.9318 MB / 0.5289 GB, free: 7.309 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.7113, allocations: 4 kB / 0.5289 GB, free: 7.305 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.7113, allocations: 7.922 kB / 0.5289 GB, free: 7.297 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3296/1.041, allocations: 10.18 MB / 0.5388 GB, free: 95.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.1e-05/1.041, allocations: 18.91 kB / 0.5389 GB, free: 95.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/1.042, allocations: 215.8 kB / 0.5391 GB, free: 95.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.03e-05/1.042, allocations: 25.06 kB / 0.5391 GB, free: 95.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/1.042, allocations: 45 kB / 0.5391 GB, free: 95.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.75e-05/1.042, allocations: 38.23 kB / 0.5392 GB, free: 95.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.493e-05/1.042, allocations: 32.5 kB / 0.5392 GB, free: 95.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003621/1.046, allocations: 2.468 MB / 0.5416 GB, free: 93.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007736/1.047, allocations: 253.5 kB / 0.5418 GB, free: 93.87 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002863/1.047, allocations: 46.25 kB / 0.5419 GB, free: 93.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/1.048, allocations: 70.55 kB / 0.542 GB, free: 93.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001812/1.048, allocations: 133.4 kB / 0.5421 GB, free: 93.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.758e-05/1.048, allocations: 55.16 kB / 0.5421 GB, free: 93.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001478/1.05, allocations: 0.9868 MB / 0.5431 GB, free: 93.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.05, allocations: 0 / 0.5431 GB, free: 93.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00321/1.053, allocations: 0.9562 MB / 0.544 GB, free: 93.28 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.0004652/1.053, allocations: 203.8 kB / 0.5442 GB, free: 93.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003324/1.057, allocations: 1.804 MB / 0.546 GB, free: 92.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-05/1.057, allocations: 3.062 kB / 0.546 GB, free: 92.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008568/1.058, allocations: 0.5598 MB / 0.5465 GB, free: 92.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002627/1.06, allocations: 385.5 kB / 0.5469 GB, free: 92.24 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/1.072, allocations: 6.908 MB / 0.5537 GB, free: 88.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002676/1.074, allocations: 2.527 MB / 0.5561 GB, free: 86.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002064/1.076, allocations: 0.8193 MB / 0.5569 GB, free: 85.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002814/1.077, allocations: 115.2 kB / 0.557 GB, free: 85.57 MB / 446.1 MB Notification: Performance of SimCode: time 7.91e-07/1.077, allocations: 0 / 0.557 GB, free: 85.57 MB / 446.1 MB Notification: Performance of Templates: time 0.04943/1.126, allocations: 21.96 MB / 0.5785 GB, free: 64.5 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/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.070860457999515]