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.001234/0.001234, allocations: 95.36 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001541/0.001541, allocations: 200.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002048/0.0002048, allocations: 8 kB / 306.6 MB, free: 1.434 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.086/0.08622, allocations: 51.48 MB / 358.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.007905/0.09416, allocations: 7.825 MB / 365.9 MB, free: 6.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004649/0.09885, allocations: 2.571 MB / 368.5 MB, free: 3.512 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000767/0.09964, allocations: 63.81 kB / 368.5 MB, free: 3.449 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008976/0.1006, allocations: 441.6 kB / 368.9 MB, free: 3.016 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001697/0.1023, allocations: 0.6655 MB / 369.6 MB, free: 2.352 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.1038, allocations: 0.7555 MB / 370.4 MB, free: 1.598 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1587/0.2625, allocations: 2.711 MB / 373.1 MB, free: 8.723 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0143/0.2769, allocations: 9.163 MB / 382.2 MB, free: 7.531 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00255/0.2794, allocations: 1.519 MB / 383.8 MB, free: 7.531 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002784/0.2822, allocations: 1.712 MB / 385.5 MB, free: 7.531 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006602/0.2829, allocations: 274.9 kB / 385.7 MB, free: 7.531 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.2842, allocations: 466.4 kB / 386.2 MB, free: 7.531 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005695/0.2848, allocations: 0.7136 MB / 386.9 MB, free: 7.527 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008651/0.2857, allocations: 0.8743 MB / 387.8 MB, free: 7.473 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005968/0.2917, allocations: 7.501 MB / 395.3 MB, free: 3.492 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2917, allocations: 0 / 395.3 MB, free: 3.492 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.2917, allocations: 1.312 kB / 395.3 MB, free: 3.492 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002013/0.2919, allocations: 0 / 395.3 MB, free: 3.492 MB / 302.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.01175/0.3037, allocations: 4.397 MB / 399.7 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.3037, allocations: 9.656 kB / 399.7 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008104/0.3118, allocations: 1.324 MB / 401 MB, free: 144 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005371/0.3172, allocations: 2.487 MB / 403.5 MB, free: 14.13 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002474/0.3175, allocations: 341.4 kB / 403.8 MB, free: 13.8 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001011/0.3185, allocations: 459.6 kB / 404.3 MB, free: 13.35 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01161/0.3301, allocations: 6.039 MB / 410.3 MB, free: 7.273 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.452e-05/0.3302, allocations: 0 / 410.3 MB, free: 7.273 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004322/0.3307, allocations: 195.1 kB / 410.5 MB, free: 7.086 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001799/0.3309, allocations: 197.5 kB / 410.7 MB, free: 6.891 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009237/0.3401, allocations: 5.253 MB / 416 MB, free: 1.625 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03053/0.3707, allocations: 21.3 MB / 437.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006289/0.377, allocations: 5.6 MB / 442.9 MB, free: 5.359 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002471/0.3773, allocations: 197.4 kB / 443.1 MB, free: 5.137 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.3774, allocations: 43.56 kB / 443.1 MB, free: 5.086 MB / 350.1 MB Notification: Performance of pre-optimization done (n=100): time 3.436e-06/0.3774, allocations: 4 kB / 443.1 MB, free: 5.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.002588/0.38, allocations: 1.885 MB / 445 MB, free: 3.113 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.38, allocations: 64.34 kB / 445.1 MB, free: 3.039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002259/0.3823, allocations: 1.45 MB / 446.5 MB, free: 1.578 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.524e-05/0.3824, allocations: 37.7 kB / 446.5 MB, free: 1.535 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001155/0.3835, allocations: 1.962 MB / 448.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003175/0.3838, allocations: 364.4 kB / 448.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.384, allocations: 51.94 kB / 448.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002328/0.3842, allocations: 459.2 kB / 449.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/0.3855, allocations: 0.8476 MB / 450.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002097/0.3876, allocations: 1.961 MB / 452.2 MB, free: 11.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002036/0.3897, allocations: 1.342 MB / 453.5 MB, free: 9.992 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-05/0.3897, allocations: 16 kB / 453.5 MB, free: 9.977 MB / 366.1 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.004432/0.3942, allocations: 2.871 MB / 456.4 MB, free: 7.102 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.501e-05/0.3942, allocations: 24.06 kB / 456.4 MB, free: 7.078 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.613e-05/0.3943, allocations: 40 kB / 456.5 MB, free: 7.039 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.238e-05/0.3943, allocations: 63.98 kB / 456.5 MB, free: 6.977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001689/0.396, allocations: 0.5342 MB / 457.1 MB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-05/0.3961, allocations: 75.72 kB / 457.1 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.3976, allocations: 304.9 kB / 457.4 MB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001866/0.3978, allocations: 128 kB / 457.5 MB, free: 5.945 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 176 * 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 (285): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002574/0.4004, allocations: 1.656 MB / 459.2 MB, free: 4.277 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002318/0.4006, allocations: 130.3 kB / 459.3 MB, free: 4.148 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002145/0.4028, allocations: 1.455 MB / 460.8 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001345/0.4041, allocations: 1.026 MB / 461.8 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.4041, allocations: 0 / 461.8 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.4042, allocations: 3.984 kB / 461.8 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01635/0.4205, allocations: 13.66 MB / 475.5 MB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.318e-05/0.4206, allocations: 23.95 kB / 475.5 MB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007816/0.4214, allocations: 215.5 kB / 475.7 MB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-05/0.4215, allocations: 28 kB / 475.7 MB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.555e-05/0.4216, allocations: 44 kB / 475.8 MB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.637e-05/0.4216, allocations: 35.86 kB / 475.8 MB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.746e-05/0.4216, allocations: 27.88 kB / 475.8 MB, free: 2.707 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003821/0.4254, allocations: 3.779 MB / 479.6 MB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007158/0.4262, allocations: 335.1 kB / 480 MB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000306/0.4265, allocations: 43.98 kB / 480 MB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008337/0.4273, allocations: 63.94 kB / 480.1 MB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.4275, allocations: 139.5 kB / 480.2 MB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.896e-05/0.4276, allocations: 52 kB / 480.2 MB, free: 13.63 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001678/0.4293, allocations: 0.9838 MB / 481.2 MB, free: 12.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4293, allocations: 0 / 481.2 MB, free: 12.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003308/0.4326, allocations: 0.9437 MB / 482.2 MB, free: 11.69 MB / 398.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 (101): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004191/0.433, allocations: 200.8 kB / 482.4 MB, free: 11.49 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002932/0.436, allocations: 1.916 MB / 484.3 MB, free: 9.574 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.436, allocations: 0 / 484.3 MB, free: 9.574 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008739/0.4369, allocations: 0.631 MB / 484.9 MB, free: 8.949 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/0.4387, allocations: 348.7 kB / 485.3 MB, free: 8.613 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/0.4517, allocations: 8.408 MB / 493.7 MB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003717/0.4555, allocations: 3.146 MB / 496.8 MB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002106/0.4576, allocations: 0.8094 MB / 497.6 MB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003373/0.4579, allocations: 111.4 kB / 497.7 MB, free: 11.8 MB / 414.1 MB Notification: Performance of SimCode: time 9.42e-07/0.458, allocations: 0 / 497.7 MB, free: 11.8 MB / 414.1 MB Notification: Performance of Templates: time 0.03134/0.4893, allocations: 17.14 MB / 0.5028 GB, free: 10.82 MB / 430.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches