Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.001796/0.001796, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 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.002184/0.002184, allocations: 192.9 kB / 23.71 MB, free: 4.406 MB / 14.72 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 1.516/1.516, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] 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.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 43.92 kB / 370.9 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2724, allocations: 52.17 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01152/0.2839, allocations: 7.995 MB / 431.1 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006748/0.2907, allocations: 2.478 MB / 433.5 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001561/0.2922, allocations: 75.69 kB / 433.6 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008946/0.3012, allocations: 3.474 MB / 437.1 MB, free: 416 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003977/0.3052, allocations: 0.8958 MB / 438 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002649/0.3078, allocations: 0.7788 MB / 438.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005983/0.3138, allocations: 3.65 MB / 442.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01178/0.3256, allocations: 6.132 MB / 448.5 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003786/0.3293, allocations: 2.135 MB / 450.7 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004212/0.3336, allocations: 2.297 MB / 453 MB, free: 412 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001529/0.3351, allocations: 0.5821 MB / 453.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002388/0.3375, allocations: 0.781 MB / 454.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001304/0.3388, allocations: 1.114 MB / 455.5 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002439/0.3412, allocations: 1.77 MB / 457.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009049/0.3503, allocations: 7.943 MB / 465.2 MB, free: 4.176 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.3503, allocations: 4 kB / 465.2 MB, free: 4.172 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3503, allocations: 0 / 465.2 MB, free: 4.172 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001608/0.3504, allocations: 0 / 465.2 MB, free: 4.172 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.01339/0.3638, allocations: 4.864 MB / 470 MB, free: 15.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.3639, allocations: 12.03 kB / 470 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007775/0.3716, allocations: 1.279 MB / 471.3 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005623/0.3773, allocations: 2.313 MB / 473.6 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003006/0.3776, allocations: 312.4 kB / 473.9 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000966/0.3785, allocations: 412 kB / 474.3 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01137/0.3899, allocations: 5.494 MB / 479.8 MB, free: 5.352 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001048/0.39, allocations: 7.953 kB / 479.9 MB, free: 5.344 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004014/0.3904, allocations: 167.9 kB / 480 MB, free: 5.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001926/0.3906, allocations: 180.6 kB / 480.2 MB, free: 5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009141/0.3997, allocations: 4.784 MB / 485 MB, free: 204 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02637/0.4261, allocations: 16.3 MB / 0.4895 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004044/0.4302, allocations: 1.729 MB / 0.4912 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001339/0.4315, allocations: 0.7261 MB / 0.4919 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001298/0.4316, allocations: 36.97 kB / 0.492 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/0.4317, allocations: 43.56 kB / 0.492 GB, free: 12.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.436e-06/0.4317, allocations: 0 / 0.492 GB, free: 12.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002609/0.4343, allocations: 1.554 MB / 0.4935 GB, free: 11.26 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.4343, allocations: 60.41 kB / 0.4936 GB, free: 11.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001912/0.4362, allocations: 1.407 MB / 0.495 GB, free: 9.758 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.87e-05/0.4363, allocations: 41.7 kB / 0.495 GB, free: 9.711 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001321/0.4376, allocations: 1.819 MB / 0.4968 GB, free: 7.871 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000326/0.438, allocations: 377 kB / 0.4971 GB, free: 7.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006255/0.4386, allocations: 451.6 kB / 0.4976 GB, free: 7.051 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.4388, allocations: 357.9 kB / 0.4979 GB, free: 6.695 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/0.44, allocations: 0.8318 MB / 0.4987 GB, free: 5.859 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002142/0.4422, allocations: 1.819 MB / 0.5005 GB, free: 3.559 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003511/0.4457, allocations: 2.79 MB / 0.5032 GB, free: 304 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.745e-05/0.4457, allocations: 15.94 kB / 0.5032 GB, free: 288 kB / 414.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004293/0.45, allocations: 2.743 MB / 0.5059 GB, free: 13.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.795e-05/0.45, allocations: 22.81 kB / 0.5059 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.115e-05/0.4501, allocations: 32 kB / 0.506 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.779e-05/0.4501, allocations: 48 kB / 0.506 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001717/0.4519, allocations: 0.5193 MB / 0.5065 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.526e-05/0.4519, allocations: 75.72 kB / 0.5066 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/0.4532, allocations: 294 kB / 0.5069 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/0.4534, allocations: 108 kB / 0.507 GB, free: 12.44 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (272): * Single equations (assignments): 271 * 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.002273/0.4557, allocations: 1.488 MB / 0.5084 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002121/0.4559, allocations: 127.2 kB / 0.5085 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002543/0.4584, allocations: 1.465 MB / 0.51 GB, free: 9.332 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001557/0.46, allocations: 1.029 MB / 0.511 GB, free: 8.297 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.46, allocations: 4 kB / 0.511 GB, free: 8.293 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.46, allocations: 7.969 kB / 0.511 GB, free: 8.285 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01578/0.4758, allocations: 10.06 MB / 0.5208 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.112e-05/0.4758, allocations: 24 kB / 0.5208 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008382/0.4766, allocations: 227.5 kB / 0.5211 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.341e-05/0.4767, allocations: 31.94 kB / 0.5211 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.889e-05/0.4768, allocations: 48 kB / 0.5211 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-05/0.4768, allocations: 39.86 kB / 0.5212 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.296e-05/0.4768, allocations: 31.88 kB / 0.5212 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003615/0.4804, allocations: 2.661 MB / 0.5238 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007186/0.4811, allocations: 270.8 kB / 0.5241 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001797/0.4813, allocations: 55.94 kB / 0.5241 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007909/0.4821, allocations: 71.94 kB / 0.5242 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001811/0.4823, allocations: 143.3 kB / 0.5243 GB, free: 9.984 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.503e-05/0.4824, allocations: 67.92 kB / 0.5244 GB, free: 9.918 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001313/0.4837, allocations: 0.9021 MB / 0.5253 GB, free: 9.008 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4837, allocations: 0 / 0.5253 GB, free: 9.008 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002617/0.4863, allocations: 0.8832 MB / 0.5261 GB, free: 8.121 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * 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 (106): * Single equations (assignments): 105 * 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.0003661/0.4867, allocations: 210.6 kB / 0.5263 GB, free: 7.902 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002976/0.4897, allocations: 1.829 MB / 0.5281 GB, free: 6.074 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/0.4897, allocations: 4 kB / 0.5281 GB, free: 6.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009519/0.4906, allocations: 0.6131 MB / 0.5287 GB, free: 5.461 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002133/0.4928, allocations: 337.4 kB / 0.529 GB, free: 5.137 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2033/0.6961, allocations: 6.482 MB / 0.5354 GB, free: 104.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00241/0.6985, allocations: 2.257 MB / 0.5376 GB, free: 104.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001562/0.7001, allocations: 0.7649 MB / 0.5383 GB, free: 104.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002465/0.7003, allocations: 111.6 kB / 0.5384 GB, free: 104.1 MB / 446.1 MB Notification: Performance of SimCode: time 8.12e-07/0.7003, allocations: 4 kB / 0.5384 GB, free: 104.1 MB / 446.1 MB Notification: Performance of Templates: time 0.02589/0.7262, allocations: 19.29 MB / 0.5573 GB, free: 91.64 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.355140991508961]