Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001541/0.001541, allocations: 113.1 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001726/0.001726, allocations: 214.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 55.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2456, allocations: 50.55 MB / 409.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.009702/0.2553, allocations: 9.749 MB / 419.7 MB, free: 7.805 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005111/0.2604, allocations: 2.74 MB / 422.4 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001451/0.2619, allocations: 79.75 kB / 422.5 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008762/0.2707, allocations: 4.188 MB / 426.7 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002851/0.2736, allocations: 0.7682 MB / 427.5 MB, free: 8 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002364/0.276, allocations: 0.9572 MB / 428.4 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004411/0.2804, allocations: 4.047 MB / 432.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01475/0.2952, allocations: 10.96 MB / 443.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003441/0.2987, allocations: 2.361 MB / 445.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004393/0.3031, allocations: 2.651 MB / 448.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001833/0.305, allocations: 0.6641 MB / 449.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002708/0.3077, allocations: 0.9021 MB / 450 MB, free: 9.312 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001996/0.3097, allocations: 1.235 MB / 451.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004301/0.314, allocations: 2.56 MB / 453.8 MB, free: 5.504 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01049/0.3245, allocations: 8.906 MB / 462.7 MB, free: 12.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.872e-06/0.3246, allocations: 4 kB / 462.7 MB, free: 12.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3246, allocations: 0 / 462.7 MB, free: 12.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002518/0.3249, allocations: 0 / 462.7 MB, free: 12.57 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.01516/0.34, allocations: 5.311 MB / 468 MB, free: 7.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.3401, allocations: 16.02 kB / 468 MB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008761/0.3489, allocations: 1.315 MB / 469.3 MB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005064/0.354, allocations: 2.595 MB / 471.9 MB, free: 3.211 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003393/0.3543, allocations: 353.3 kB / 472.3 MB, free: 2.863 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001439/0.3558, allocations: 463.9 kB / 472.7 MB, free: 2.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01444/0.3702, allocations: 6.09 MB / 478.8 MB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000143/0.3704, allocations: 4 kB / 478.8 MB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009903/0.3714, allocations: 192 kB / 479 MB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001945/0.3716, allocations: 193.5 kB / 479.2 MB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01113/0.3828, allocations: 5.272 MB / 484.5 MB, free: 6.609 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03387/0.4167, allocations: 20.96 MB / 0.4936 GB, free: 0.918 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006511/0.4232, allocations: 5.572 MB / 0.499 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/0.4243, allocations: 0.655 MB / 0.4997 GB, free: 9.922 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002175/0.4245, allocations: 191.2 kB / 0.4999 GB, free: 9.699 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.4246, allocations: 43.56 kB / 0.4999 GB, free: 9.648 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 4.989e-06/0.4246, allocations: 4 kB / 0.4999 GB, free: 9.645 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002265/0.4268, allocations: 1.428 MB / 0.5013 GB, free: 8.207 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.4269, allocations: 60.41 kB / 0.5014 GB, free: 8.137 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002306/0.4292, allocations: 1.457 MB / 0.5028 GB, free: 6.668 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.996e-05/0.4293, allocations: 41.7 kB / 0.5028 GB, free: 6.621 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001207/0.4305, allocations: 1.967 MB / 0.5047 GB, free: 4.625 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002913/0.4308, allocations: 351.2 kB / 0.5051 GB, free: 4.277 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006471/0.4315, allocations: 471.6 kB / 0.5055 GB, free: 3.809 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.4316, allocations: 365.9 kB / 0.5059 GB, free: 3.445 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/0.4328, allocations: 0.8085 MB / 0.5067 GB, free: 2.633 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001872/0.4347, allocations: 1.937 MB / 0.5085 GB, free: 140 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003387/0.4381, allocations: 2.92 MB / 0.5114 GB, free: 12.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.785e-05/0.4381, allocations: 16 kB / 0.5114 GB, free: 12.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004521/0.4426, allocations: 2.793 MB / 0.5141 GB, free: 9.855 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.028e-05/0.4427, allocations: 20 kB / 0.5142 GB, free: 9.836 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.089e-05/0.4428, allocations: 40 kB / 0.5142 GB, free: 9.797 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.899e-05/0.4429, allocations: 55.98 kB / 0.5143 GB, free: 9.742 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/0.4445, allocations: 0.5303 MB / 0.5148 GB, free: 9.211 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.663e-05/0.4446, allocations: 79.72 kB / 0.5148 GB, free: 9.133 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/0.4461, allocations: 293.2 kB / 0.5151 GB, free: 8.844 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001912/0.4463, allocations: 124 kB / 0.5152 GB, free: 8.723 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.002447/0.4487, allocations: 1.671 MB / 0.5169 GB, free: 7.039 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002695/0.449, allocations: 126.4 kB / 0.517 GB, free: 6.914 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002087/0.4511, allocations: 1.345 MB / 0.5183 GB, free: 5.547 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001226/0.4523, allocations: 0.9279 MB / 0.5192 GB, free: 4.613 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.4524, allocations: 0 / 0.5192 GB, free: 4.613 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.4524, allocations: 7.984 kB / 0.5192 GB, free: 4.605 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01687/0.4693, allocations: 13.49 MB / 0.5324 GB, free: 6.199 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.873e-05/0.4693, allocations: 23.94 kB / 0.5324 GB, free: 6.176 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000822/0.4702, allocations: 207.6 kB / 0.5326 GB, free: 5.973 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.839e-05/0.4702, allocations: 24.81 kB / 0.5326 GB, free: 5.949 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.4703, allocations: 44 kB / 0.5327 GB, free: 5.906 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.808e-05/0.4704, allocations: 43.8 kB / 0.5327 GB, free: 5.863 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.986e-05/0.4704, allocations: 27.88 kB / 0.5328 GB, free: 5.836 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002887/0.4733, allocations: 2.442 MB / 0.5351 GB, free: 3.102 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005772/0.4739, allocations: 327.1 kB / 0.5355 GB, free: 2.762 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002556/0.4741, allocations: 51.98 kB / 0.5355 GB, free: 2.711 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000798/0.4749, allocations: 67.89 kB / 0.5356 GB, free: 2.645 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/0.4751, allocations: 131.4 kB / 0.5357 GB, free: 2.516 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.596e-05/0.4752, allocations: 52 kB / 0.5357 GB, free: 2.465 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001495/0.4767, allocations: 0.9877 MB / 0.5367 GB, free: 1.473 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4767, allocations: 0 / 0.5367 GB, free: 1.473 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00275/0.4795, allocations: 0.9437 MB / 0.5376 GB, free: 0.5234 MB / 462.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.0003773/0.4799, allocations: 198.7 kB / 0.5378 GB, free: 324 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.2187/0.6985, allocations: 1.869 MB / 0.5396 GB, free: 123 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.162e-05/0.6986, allocations: 3.5 kB / 0.5396 GB, free: 123 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008823/0.6995, allocations: 0.5713 MB / 0.5402 GB, free: 123 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002312/0.7018, allocations: 380.1 kB / 0.5406 GB, free: 122.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/0.7119, allocations: 6.729 MB / 0.5471 GB, free: 119.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002048/0.714, allocations: 2.993 MB / 0.5501 GB, free: 118.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003996/0.7144, allocations: 130.9 kB / 0.5502 GB, free: 118.3 MB / 462.1 MB Notification: Performance of SimCode: time 8.91e-07/0.7144, allocations: 0 / 0.5502 GB, free: 118.3 MB / 462.1 MB Notification: Performance of Templates: time 0.04277/0.7572, allocations: 38.47 MB / 0.5878 GB, free: 83.2 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches