Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 107.7 kB / 17.06 MB, free: 5.824 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.001133/0.001133, allocations: 192 kB / 18 MB, free: 4.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000989/0.000989, allocations: 51.92 kB / 351.3 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.246, allocations: 49.43 MB / 400.7 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01105/0.2571, allocations: 9.732 MB / 410.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005365/0.2625, allocations: 2.682 MB / 413.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001431/0.264, allocations: 79.75 kB / 413.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008852/0.2729, allocations: 4.192 MB / 417.4 MB, free: 8.277 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003315/0.2762, allocations: 0.9242 MB / 418.3 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002145/0.2784, allocations: 0.8234 MB / 419.2 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005075/0.2835, allocations: 4.07 MB / 423.2 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01505/0.2986, allocations: 10.95 MB / 434.2 MB, free: 7.371 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002946/0.3015, allocations: 2.354 MB / 436.5 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003621/0.3052, allocations: 2.655 MB / 439.2 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00127/0.3065, allocations: 0.6641 MB / 439.9 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002066/0.3085, allocations: 0.8709 MB / 440.7 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001473/0.31, allocations: 1.243 MB / 442 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003426/0.3135, allocations: 2.549 MB / 444.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008417/0.3219, allocations: 8.897 MB / 453.4 MB, free: 4.086 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3219, allocations: 7.938 kB / 453.4 MB, free: 4.078 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.322, allocations: 0 / 453.4 MB, free: 4.078 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000175/0.3221, allocations: 0 / 453.4 MB, free: 4.078 MB / 366.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.01116/0.3333, allocations: 5.303 MB / 458.7 MB, free: 14.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.3333, allocations: 11.89 kB / 458.7 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006963/0.3403, allocations: 1.296 MB / 460 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004162/0.3445, allocations: 2.599 MB / 462.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002472/0.3448, allocations: 345.3 kB / 463 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007171/0.3455, allocations: 460 kB / 463.4 MB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01018/0.3557, allocations: 6.09 MB / 469.5 MB, free: 3.828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.861e-05/0.3558, allocations: 11.89 kB / 469.5 MB, free: 3.816 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003918/0.3562, allocations: 184 kB / 469.7 MB, free: 3.637 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000158/0.3564, allocations: 193.5 kB / 469.9 MB, free: 3.445 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008233/0.3646, allocations: 5.276 MB / 475.2 MB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02725/0.3919, allocations: 20.71 MB / 495.9 MB, free: 8.762 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005871/0.3978, allocations: 5.567 MB / 0.4897 GB, free: 2.418 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009175/0.3987, allocations: 0.659 MB / 0.4903 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001453/0.3989, allocations: 110.1 kB / 0.4904 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.3989, allocations: 47.48 kB / 0.4905 GB, free: 1.578 MB / 414.1 MB Notification: Performance of pre-optimization done (n=94): time 2.685e-06/0.399, allocations: 4 kB / 0.4905 GB, free: 1.574 MB / 414.1 MB Notification: Performance of matching and sorting (n=94): time 0.002124/0.4011, allocations: 1.42 MB / 0.4919 GB, free: 148 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.4012, allocations: 64.34 kB / 0.4919 GB, free: 72 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00182/0.403, allocations: 1.458 MB / 0.4934 GB, free: 14.6 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.531e-05/0.403, allocations: 41.7 kB / 0.4934 GB, free: 14.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001148/0.4042, allocations: 1.966 MB / 0.4953 GB, free: 12.56 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002658/0.4045, allocations: 359.3 kB / 0.4957 GB, free: 12.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005857/0.4051, allocations: 467.6 kB / 0.4961 GB, free: 11.74 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.4053, allocations: 357.9 kB / 0.4965 GB, free: 11.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/0.4063, allocations: 0.8046 MB / 0.4972 GB, free: 10.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001809/0.4082, allocations: 1.945 MB / 0.4991 GB, free: 8.074 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00308/0.4112, allocations: 2.927 MB / 0.502 GB, free: 4.598 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.605e-05/0.4113, allocations: 12 kB / 0.502 GB, free: 4.586 MB / 430.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.003705/0.415, allocations: 2.793 MB / 0.5047 GB, free: 1.789 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.39e-05/0.415, allocations: 20 kB / 0.5048 GB, free: 1.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.893e-05/0.4151, allocations: 40 kB / 0.5048 GB, free: 1.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.808e-05/0.4151, allocations: 52 kB / 0.5048 GB, free: 1.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/0.4167, allocations: 0.5381 MB / 0.5054 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.784e-05/0.4167, allocations: 79.7 kB / 0.5054 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.4179, allocations: 297.5 kB / 0.5057 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/0.418, allocations: 120 kB / 0.5058 GB, free: 0.6523 MB / 430.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.002121/0.4202, allocations: 1.668 MB / 0.5075 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.4203, allocations: 126.4 kB / 0.5076 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001906/0.4222, allocations: 1.33 MB / 0.5089 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001168/0.4234, allocations: 0.9396 MB / 0.5098 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.4234, allocations: 0 / 0.5098 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.4235, allocations: 7.969 kB / 0.5098 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01342/0.4369, allocations: 12.2 MB / 0.5217 GB, free: 15.72 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-05/0.4369, allocations: 20 kB / 0.5218 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006992/0.4376, allocations: 219.7 kB / 0.522 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.767e-05/0.4377, allocations: 24 kB / 0.522 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.128e-05/0.4378, allocations: 47.98 kB / 0.522 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.154e-05/0.4378, allocations: 39.8 kB / 0.5221 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.128e-05/0.4378, allocations: 31.88 kB / 0.5221 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003088/0.4409, allocations: 2.442 MB / 0.5245 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000534/0.4415, allocations: 319.1 kB / 0.5248 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001497/0.4416, allocations: 51.92 kB / 0.5248 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006396/0.4423, allocations: 67.88 kB / 0.5249 GB, free: 12.17 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.4424, allocations: 127.5 kB / 0.525 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.998e-05/0.4425, allocations: 55.94 kB / 0.5251 GB, free: 11.99 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00133/0.4439, allocations: 0.9916 MB / 0.526 GB, free: 10.99 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4439, allocations: 3.938 kB / 0.526 GB, free: 10.99 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002694/0.4466, allocations: 0.9476 MB / 0.527 GB, free: 10.04 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.0003425/0.4469, allocations: 206.7 kB / 0.5272 GB, free: 9.82 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002726/0.4497, allocations: 1.865 MB / 0.529 GB, free: 7.953 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/0.4497, allocations: 8.375 kB / 0.529 GB, free: 7.945 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007789/0.4505, allocations: 0.5648 MB / 0.5296 GB, free: 7.383 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001959/0.4524, allocations: 389.8 kB / 0.5299 GB, free: 7.008 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2059/0.6583, allocations: 6.831 MB / 0.5366 GB, free: 126.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005015/0.6634, allocations: 3.073 MB / 0.5396 GB, free: 125.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001563/0.665, allocations: 0.8159 MB / 0.5404 GB, free: 125.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002305/0.6652, allocations: 121.6 kB / 0.5405 GB, free: 125.9 MB / 462.1 MB Notification: Performance of SimCode: time 1.092e-06/0.6652, allocations: 0 / 0.5405 GB, free: 125.9 MB / 462.1 MB Notification: Performance of Templates: time 0.02959/0.6948, allocations: 18.33 MB / 0.5584 GB, free: 116.1 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches