Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001039/0.001039, allocations: 96.11 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001504/0.001504, allocations: 205.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 227.7 MB / 247.5 MB, free: 11.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002141/0.0002141, allocations: 8 kB / 308.4 MB, free: 0.7734 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1031, allocations: 51.53 MB / 359.9 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.009954/0.1131, allocations: 8.41 MB / 368.3 MB, free: 4.793 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006569/0.1198, allocations: 2.593 MB / 370.9 MB, free: 2.191 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002007/0.1218, allocations: 63.81 kB / 371 MB, free: 2.129 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001817/0.1237, allocations: 0.5328 MB / 371.5 MB, free: 1.594 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002984/0.1267, allocations: 0.6492 MB / 372.2 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002306/0.129, allocations: 0.861 MB / 373 MB, free: 84 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2178/0.3468, allocations: 3.445 MB / 376.5 MB, free: 9 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01921/0.3661, allocations: 9.886 MB / 386.4 MB, free: 6.328 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003648/0.3698, allocations: 1.458 MB / 387.8 MB, free: 5.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003673/0.3735, allocations: 1.754 MB / 389.6 MB, free: 5.012 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00119/0.3747, allocations: 242.1 kB / 389.8 MB, free: 5.012 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002825/0.3776, allocations: 482.5 kB / 390.3 MB, free: 4.938 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001382/0.379, allocations: 0.6678 MB / 391 MB, free: 4.531 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004555/0.3836, allocations: 1.806 MB / 392.8 MB, free: 3.324 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007646/0.3912, allocations: 6.657 MB / 399.4 MB, free: 15.82 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3913, allocations: 4 kB / 399.4 MB, free: 15.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.3913, allocations: 0 / 399.4 MB, free: 15.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002411/0.3915, allocations: 0 / 399.4 MB, free: 15.82 MB / 318.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.01223/0.4038, allocations: 4.001 MB / 403.4 MB, free: 12.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.4038, allocations: 12.03 kB / 403.4 MB, free: 12.97 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009064/0.4129, allocations: 1.297 MB / 404.7 MB, free: 11.69 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004291/0.4172, allocations: 2.233 MB / 407 MB, free: 9.523 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003297/0.4176, allocations: 311.5 kB / 407.3 MB, free: 9.219 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001241/0.4189, allocations: 415.7 kB / 407.7 MB, free: 8.816 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01295/0.4318, allocations: 5.484 MB / 413.2 MB, free: 3.281 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001523/0.432, allocations: 11.98 kB / 413.2 MB, free: 3.27 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008812/0.4329, allocations: 175.2 kB / 413.3 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002009/0.4331, allocations: 179.6 kB / 413.5 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009916/0.443, allocations: 4.824 MB / 418.3 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03118/0.4743, allocations: 19.59 MB / 437.9 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004908/0.4792, allocations: 3.937 MB / 441.9 MB, free: 5.516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001387/0.4806, allocations: 0.818 MB / 442.7 MB, free: 4.695 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002144/0.4808, allocations: 199.1 kB / 442.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.4809, allocations: 47.5 kB / 442.9 MB, free: 4.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 3.246e-06/0.4809, allocations: 3.938 kB / 442.9 MB, free: 4.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.002551/0.4835, allocations: 1.666 MB / 444.6 MB, free: 2.738 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.4835, allocations: 68.34 kB / 444.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002172/0.4857, allocations: 1.341 MB / 446 MB, free: 1.297 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.647e-05/0.4858, allocations: 45.7 kB / 446 MB, free: 1.246 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001104/0.4869, allocations: 1.752 MB / 447.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003502/0.4873, allocations: 388.4 kB / 448.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002446/0.4875, allocations: 170 kB / 448.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.4877, allocations: 349.9 kB / 448.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001421/0.4891, allocations: 0.8709 MB / 449.6 MB, free: 13.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002171/0.4913, allocations: 1.863 MB / 451.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003366/0.4947, allocations: 2.875 MB / 454.3 MB, free: 8.023 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.271e-05/0.4947, allocations: 12 kB / 454.3 MB, free: 8.012 MB / 366.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.004373/0.4991, allocations: 2.801 MB / 457.1 MB, free: 5.199 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.854e-05/0.4991, allocations: 27.92 kB / 457.1 MB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.234e-05/0.4992, allocations: 32 kB / 457.2 MB, free: 5.141 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.041e-05/0.4993, allocations: 48 kB / 457.2 MB, free: 5.094 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001624/0.5009, allocations: 0.5232 MB / 457.7 MB, free: 4.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.172e-05/0.501, allocations: 71.73 kB / 457.8 MB, free: 4.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.5024, allocations: 285.2 kB / 458.1 MB, free: 4.219 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001621/0.5025, allocations: 120 kB / 458.2 MB, free: 4.102 MB / 366.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 (275): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.002472/0.505, allocations: 1.484 MB / 459.7 MB, free: 2.605 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002466/0.5053, allocations: 126.3 kB / 459.8 MB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002455/0.5077, allocations: 1.544 MB / 461.4 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001548/0.5093, allocations: 1.113 MB / 462.5 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.5093, allocations: 3.984 kB / 462.5 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.5093, allocations: 11.97 kB / 462.5 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01776/0.5271, allocations: 13.83 MB / 476.3 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.961e-05/0.5272, allocations: 20 kB / 476.3 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008313/0.528, allocations: 231.6 kB / 476.6 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-05/0.5281, allocations: 28.75 kB / 476.6 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.836e-05/0.5282, allocations: 44 kB / 476.6 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.082e-05/0.5282, allocations: 47.8 kB / 476.7 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.461e-05/0.5282, allocations: 35.81 kB / 476.7 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003361/0.5316, allocations: 2.794 MB / 479.5 MB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006085/0.5322, allocations: 351.1 kB / 479.9 MB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002142/0.5324, allocations: 47.92 kB / 479.9 MB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008381/0.5333, allocations: 79.94 kB / 480 MB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/0.5335, allocations: 139.3 kB / 480.1 MB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-05/0.5336, allocations: 59.98 kB / 480.2 MB, free: 12.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001429/0.535, allocations: 0.9062 MB / 481.1 MB, free: 11.86 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.535, allocations: 0 / 481.1 MB, free: 11.86 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002675/0.5377, allocations: 0.8662 MB / 481.9 MB, free: 10.98 MB / 398.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 (109): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0004055/0.5381, allocations: 207.7 kB / 482.1 MB, free: 10.78 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002932/0.5411, allocations: 1.958 MB / 484.1 MB, free: 8.824 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/0.5411, allocations: 7.938 kB / 484.1 MB, free: 8.816 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009324/0.542, allocations: 0.6773 MB / 484.8 MB, free: 8.145 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00504/0.5471, allocations: 331.7 kB / 485.1 MB, free: 7.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0148/0.5619, allocations: 8.073 MB / 493.2 MB, free: 15.42 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00371/0.5657, allocations: 2.731 MB / 495.9 MB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005769/0.5663, allocations: 135.4 kB / 496 MB, free: 12.52 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5663, allocations: 0 / 496 MB, free: 12.52 MB / 414.1 MB Notification: Performance of Templates: time 0.05041/0.6167, allocations: 35.05 MB / 0.5186 GB, free: 9.559 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches