Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 108.4 kB / 18.36 MB, free: 4.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 191 kB / 19.29 MB, free: 3.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.316/1.316, allocations: 205.1 MB / 225.2 MB, free: 12.31 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001222, allocations: 47.92 kB / 282.1 MB, free: 2.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07635/0.07759, allocations: 46.63 MB / 328.7 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.01033/0.08795, allocations: 10.09 MB / 338.8 MB, free: 9.617 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004975/0.09295, allocations: 2.807 MB / 341.6 MB, free: 6.797 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009986/0.09399, allocations: 63.81 kB / 341.7 MB, free: 6.734 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008434/0.1024, allocations: 4.208 MB / 345.9 MB, free: 2.508 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00282/0.1053, allocations: 1.041 MB / 346.9 MB, free: 1.461 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001803/0.1071, allocations: 0.8259 MB / 347.8 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00407/0.1112, allocations: 4.284 MB / 352.1 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01291/0.1241, allocations: 11 MB / 363.1 MB, free: 1.211 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00304/0.1272, allocations: 2.447 MB / 365.5 MB, free: 14.76 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004177/0.1313, allocations: 2.78 MB / 368.3 MB, free: 11.97 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001353/0.1327, allocations: 0.6836 MB / 369 MB, free: 11.29 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001882/0.1346, allocations: 0.9021 MB / 369.9 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001149/0.1358, allocations: 1.317 MB / 371.2 MB, free: 9.062 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002721/0.1385, allocations: 2.669 MB / 373.9 MB, free: 6.383 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1609/0.2994, allocations: 9.07 MB / 382.9 MB, free: 31.17 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.864e-06/0.2994, allocations: 6.531 kB / 382.9 MB, free: 31.17 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2995, allocations: 0 / 382.9 MB, free: 31.17 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002546/0.2997, allocations: 1.375 kB / 382.9 MB, free: 31.17 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: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.01773/0.3175, allocations: 5.568 MB / 388.5 MB, free: 29.68 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.3175, allocations: 10.72 kB / 388.5 MB, free: 29.68 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01526/0.3328, allocations: 2.389 MB / 390.9 MB, free: 29.44 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006836/0.3397, allocations: 2.38 MB / 393.3 MB, free: 28.86 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004359/0.3401, allocations: 368.4 kB / 393.6 MB, free: 28.69 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002655/0.3428, allocations: 479.6 kB / 394.1 MB, free: 28.54 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01477/0.3576, allocations: 6.645 MB / 400.7 MB, free: 25.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.051e-05/0.3577, allocations: 4.453 kB / 400.8 MB, free: 25.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004745/0.3582, allocations: 199 kB / 400.9 MB, free: 25.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001657/0.3584, allocations: 225.4 kB / 401.2 MB, free: 24.99 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008472/0.3669, allocations: 6.114 MB / 407.3 MB, free: 21.81 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02258/0.3895, allocations: 22.34 MB / 429.6 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00974/0.3992, allocations: 10.78 MB / 440.4 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00117/0.4004, allocations: 0.828 MB / 441.2 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005244/0.4057, allocations: 3.379 MB / 444.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.4057, allocations: 34.55 kB / 444.6 MB, free: 14.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.827e-06/0.4058, allocations: 7.984 kB / 444.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004606/0.4062, allocations: 226.8 kB / 444.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.4063, allocations: 63.14 kB / 444.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002812/0.4091, allocations: 2.137 MB / 447.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.4091, allocations: 25.7 kB / 447.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001427/0.4106, allocations: 2.38 MB / 449.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.881e-05/0.4106, allocations: 75.59 kB / 449.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007147/0.4114, allocations: 0.5493 MB / 450.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.4115, allocations: 361.9 kB / 450.5 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.4125, allocations: 0.8122 MB / 451.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002039/0.4146, allocations: 2.238 MB / 453.5 MB, free: 5.035 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002662/0.4173, allocations: 2.96 MB / 456.5 MB, free: 1.578 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.172e-05/0.4173, allocations: 16 kB / 456.5 MB, free: 1.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.003951/0.4212, allocations: 3.012 MB / 459.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.016e-05/0.4213, allocations: 28 kB / 459.5 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.657e-05/0.4214, allocations: 52.09 kB / 459.6 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.71e-05/0.4214, allocations: 68 kB / 459.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/0.423, allocations: 0.568 MB / 460.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.27e-05/0.4231, allocations: 99.36 kB / 460.3 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001762/0.4249, allocations: 400.2 kB / 460.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001943/0.4251, allocations: 148 kB / 460.8 MB, free: 13.56 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 229 * 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 (307): * Single equations (assignments): 306 * 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.002275/0.4274, allocations: 1.732 MB / 462.6 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/0.4276, allocations: 138.3 kB / 462.7 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000382/0.428, allocations: 235.3 kB / 462.9 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001155/0.4281, allocations: 96.14 kB / 463 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.4281, allocations: 0 / 463 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.4281, allocations: 11.92 kB / 463 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004616/0.4327, allocations: 3.036 MB / 466.1 MB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.4328, allocations: 4.031 kB / 466.1 MB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.931e-05/0.4328, allocations: 12 kB / 466.1 MB, free: 8.281 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.4329, allocations: 3.938 kB / 466.1 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.4329, allocations: 4 kB / 466.1 MB, free: 8.273 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.4329, allocations: 9.625 kB / 466.1 MB, free: 8.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4329, allocations: 0 / 466.1 MB, free: 8.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004464/0.4333, allocations: 368.4 kB / 466.5 MB, free: 7.891 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003769/0.4337, allocations: 219.5 kB / 466.7 MB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/0.4339, allocations: 3.938 kB / 466.7 MB, free: 7.652 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004631/0.4343, allocations: 27.95 kB / 466.7 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.267e-05/0.4344, allocations: 15.08 kB / 466.7 MB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.4344, allocations: 0 / 466.7 MB, free: 7.613 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001702/0.4361, allocations: 1.404 MB / 468.1 MB, free: 6.215 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4361, allocations: 0 / 468.1 MB, free: 6.215 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002551/0.4387, allocations: 0.9863 MB / 469.1 MB, free: 5.223 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (7): * Single equations (assignments): 6 * 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.0002552/0.4389, allocations: 143 kB / 469.3 MB, free: 5.078 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002004/0.4409, allocations: 1.46 MB / 470.7 MB, free: 3.758 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.441, allocations: 0.9375 kB / 470.7 MB, free: 3.758 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.8e-05/0.441, allocations: 43.83 kB / 470.8 MB, free: 3.719 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/0.4425, allocations: 331.8 kB / 471.1 MB, free: 3.402 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009548/0.452, allocations: 6.08 MB / 477.2 MB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002627/0.4547, allocations: 3.135 MB / 480.3 MB, free: 10.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001751/0.4565, allocations: 0.7971 MB / 481.1 MB, free: 9.355 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/0.4567, allocations: 99.42 kB / 481.2 MB, free: 9.258 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4567, allocations: 0 / 481.2 MB, free: 9.258 MB / 382.1 MB Notification: Performance of Templates: time 0.03174/0.4884, allocations: 17.14 MB / 498.3 MB, free: 8.203 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches