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.001497/0.001497, allocations: 114.3 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001653/0.001653, allocations: 206.8 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 55.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.218, allocations: 50.53 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01022/0.2283, allocations: 9.753 MB / 419.7 MB, free: 7.789 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004841/0.2331, allocations: 2.74 MB / 422.4 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00126/0.2344, allocations: 79.75 kB / 422.5 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00828/0.2427, allocations: 4.2 MB / 426.7 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00218/0.2449, allocations: 0.7727 MB / 427.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001806/0.2467, allocations: 0.9611 MB / 428.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003485/0.2502, allocations: 4.043 MB / 432.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01095/0.2612, allocations: 10.97 MB / 443.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002215/0.2634, allocations: 2.361 MB / 445.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002536/0.2659, allocations: 2.647 MB / 448.5 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000675/0.2666, allocations: 0.6602 MB / 449.1 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001305/0.2679, allocations: 0.9021 MB / 450 MB, free: 9.281 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008927/0.2688, allocations: 1.235 MB / 451.3 MB, free: 8.043 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002024/0.2709, allocations: 2.556 MB / 453.8 MB, free: 5.477 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006673/0.2776, allocations: 8.932 MB / 462.8 MB, free: 12.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.2776, allocations: 0 / 462.8 MB, free: 12.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2776, allocations: 0 / 462.8 MB, free: 12.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.781e-05/0.2777, allocations: 0 / 462.8 MB, free: 12.52 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.01051/0.2882, allocations: 5.402 MB / 468.2 MB, free: 7.039 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.2882, allocations: 12.03 kB / 468.2 MB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007607/0.2959, allocations: 1.345 MB / 469.5 MB, free: 5.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003734/0.2996, allocations: 2.604 MB / 472.1 MB, free: 3.027 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002215/0.2998, allocations: 353.2 kB / 472.5 MB, free: 2.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006343/0.3005, allocations: 459.9 kB / 472.9 MB, free: 2.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00979/0.3103, allocations: 6.09 MB / 479 MB, free: 12.1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.5e-05/0.3104, allocations: 4 kB / 479 MB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004035/0.3108, allocations: 188 kB / 479.2 MB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001612/0.311, allocations: 197.5 kB / 479.4 MB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008451/0.3194, allocations: 5.268 MB / 484.6 MB, free: 6.434 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02627/0.3457, allocations: 21.03 MB / 0.4938 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00586/0.3516, allocations: 5.572 MB / 0.4993 GB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000922/0.3525, allocations: 0.6512 MB / 0.4999 GB, free: 9.688 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001854/0.3527, allocations: 195.2 kB / 0.5001 GB, free: 9.461 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.3528, allocations: 51.5 kB / 0.5001 GB, free: 9.402 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.136e-06/0.3528, allocations: 0 / 0.5001 GB, free: 9.402 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002138/0.3549, allocations: 1.433 MB / 0.5015 GB, free: 7.961 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.355, allocations: 60.41 kB / 0.5016 GB, free: 7.891 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/0.3569, allocations: 1.462 MB / 0.503 GB, free: 6.418 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.558e-05/0.3569, allocations: 41.7 kB / 0.5031 GB, free: 6.371 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001104/0.3581, allocations: 2.041 MB / 0.5051 GB, free: 4.309 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002632/0.3583, allocations: 365.1 kB / 0.5054 GB, free: 3.949 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000577/0.3589, allocations: 475.9 kB / 0.5059 GB, free: 3.477 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3591, allocations: 361.9 kB / 0.5062 GB, free: 3.117 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.3602, allocations: 0.8085 MB / 0.507 GB, free: 2.305 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001831/0.3621, allocations: 1.941 MB / 0.5089 GB, free: 15.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003062/0.3651, allocations: 2.924 MB / 0.5117 GB, free: 12.33 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.619e-05/0.3652, allocations: 12 kB / 0.5118 GB, free: 12.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004035/0.3692, allocations: 2.798 MB / 0.5145 GB, free: 9.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.4e-05/0.3693, allocations: 20 kB / 0.5145 GB, free: 9.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.429e-05/0.3693, allocations: 40 kB / 0.5145 GB, free: 9.461 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.557e-05/0.3694, allocations: 52 kB / 0.5146 GB, free: 9.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/0.371, allocations: 0.5342 MB / 0.5151 GB, free: 8.875 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.999e-05/0.3711, allocations: 79.66 kB / 0.5152 GB, free: 8.797 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/0.3724, allocations: 306.3 kB / 0.5155 GB, free: 8.496 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001693/0.3725, allocations: 128 kB / 0.5156 GB, free: 8.371 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.002111/0.3747, allocations: 1.668 MB / 0.5172 GB, free: 6.691 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002091/0.3749, allocations: 139 kB / 0.5174 GB, free: 6.555 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001978/0.3769, allocations: 1.334 MB / 0.5187 GB, free: 5.199 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.3769, allocations: 7.984 kB / 0.5187 GB, free: 5.191 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.3769, allocations: 3.984 kB / 0.5187 GB, free: 5.188 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000422/0.3773, allocations: 288 kB / 0.519 GB, free: 4.887 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001959/0.3775, allocations: 23.95 kB / 0.519 GB, free: 4.863 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004688/0.378, allocations: 47.89 kB / 0.519 GB, free: 4.816 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.3781, allocations: 52.92 kB / 0.5191 GB, free: 4.766 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001751/0.3799, allocations: 1.142 MB / 0.5202 GB, free: 3.617 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002273/0.3822, allocations: 1.878 MB / 0.522 GB, free: 1.727 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005808/0.3828, allocations: 483.7 kB / 0.5225 GB, free: 1.254 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001358/0.3841, allocations: 0.9955 MB / 0.5235 GB, free: 260 kB / 446.1 MB Notification: Performance of Backend: time 3.1e-07/0.3841, allocations: 0 / 0.5235 GB, free: 260 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002842/0.387, allocations: 1.592 MB / 0.525 GB, free: 14.65 MB / 462.1 MB Notification: Performance of SimCode: time 0.01131/0.3983, allocations: 6.694 MB / 0.5315 GB, free: 7.887 MB / 462.1 MB Notification: Performance of Templates: time 0.2123/0.6107, allocations: 23.1 MB / 0.5541 GB, free: 118.5 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