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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001167/0.001167, allocations: 196.6 kB / 14.16 MB, free: 1.156 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008839/0.0008839, allocations: 98.42 kB / 292.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.414e-05/3.418e-05, allocations: 0 / 350.5 MB, free: 2.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1048, allocations: 51.48 MB / 402 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3384/0.4432, allocations: 90.31 MB / 492.3 MB, free: 15.2 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003286/0.4436, allocations: 83.06 kB / 492.4 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5619/1.006, allocations: 161 MB / 0.6381 GB, free: 81.85 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.344e-06/1.006, allocations: 0 / 0.6381 GB, free: 81.85 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002253/1.006, allocations: 95.47 kB / 0.6382 GB, free: 81.84 MB / 442.7 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.01408/1.02, allocations: 4.088 MB / 0.6422 GB, free: 80 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/1.02, allocations: 14.25 kB / 0.6422 GB, free: 79.99 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005817/1.026, allocations: 0.981 MB / 0.6432 GB, free: 79.71 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00589/1.032, allocations: 2.725 MB / 0.6458 GB, free: 78.19 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002602/1.032, allocations: 324.9 kB / 0.6461 GB, free: 78.04 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001124/1.033, allocations: 416.7 kB / 0.6465 GB, free: 77.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0112/1.044, allocations: 6.495 MB / 0.6529 GB, free: 74.85 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.432e-05/1.044, allocations: 3.656 kB / 0.6529 GB, free: 74.85 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003876/1.045, allocations: 181.9 kB / 0.653 GB, free: 74.71 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002529/1.045, allocations: 320.3 kB / 0.6533 GB, free: 74.62 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007379/1.053, allocations: 4.642 MB / 0.6579 GB, free: 72.69 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02527/1.078, allocations: 20.97 MB / 0.6784 GB, free: 57.67 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005136/1.083, allocations: 5.593 MB / 0.6838 GB, free: 52.44 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009811/1.084, allocations: 0.7128 MB / 0.6845 GB, free: 52.11 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001911/1.084, allocations: 187.8 kB / 0.6847 GB, free: 51.91 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/1.084, allocations: 42.91 kB / 0.6847 GB, free: 51.87 MB / 442.7 MB Notification: Performance of pre-optimization done (n=100): time 3.848e-06/1.084, allocations: 0 / 0.6847 GB, free: 51.87 MB / 442.7 MB Notification: Performance of matching and sorting (n=100): time 0.001734/1.086, allocations: 1.107 MB / 0.6858 GB, free: 51.31 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/1.086, allocations: 63.59 kB / 0.6859 GB, free: 51.24 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001887/1.088, allocations: 1.293 MB / 0.6871 GB, free: 50.55 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.724e-05/1.088, allocations: 44.92 kB / 0.6872 GB, free: 50.51 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000823/1.089, allocations: 1.965 MB / 0.6891 GB, free: 48.57 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002297/1.089, allocations: 370.2 kB / 0.6895 GB, free: 48.21 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.124e-05/1.089, allocations: 48 kB / 0.6895 GB, free: 48.17 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001656/1.089, allocations: 455.2 kB / 0.6899 GB, free: 47.71 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/1.09, allocations: 0.8282 MB / 0.6907 GB, free: 46.88 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00139/1.092, allocations: 1.953 MB / 0.6927 GB, free: 44.38 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/1.093, allocations: 1.343 MB / 0.694 GB, free: 43.03 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.802e-05/1.093, allocations: 12 kB / 0.694 GB, free: 43.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.003415/1.097, allocations: 2.832 MB / 0.6967 GB, free: 40.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.181e-05/1.097, allocations: 25.41 kB / 0.6968 GB, free: 40.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.325e-05/1.097, allocations: 40 kB / 0.6968 GB, free: 40.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.939e-05/1.097, allocations: 56 kB / 0.6969 GB, free: 40.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/1.098, allocations: 0.5381 MB / 0.6974 GB, free: 39.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.687e-05/1.098, allocations: 75.72 kB / 0.6975 GB, free: 39.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/1.1, allocations: 293.5 kB / 0.6977 GB, free: 39.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/1.1, allocations: 128 kB / 0.6979 GB, free: 39.04 MB / 442.7 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 () * 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.0002346/1.1, allocations: 263.9 kB / 0.6981 GB, free: 38.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/1.1, allocations: 126.4 kB / 0.6982 GB, free: 38.64 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001855/1.102, allocations: 1.431 MB / 0.6996 GB, free: 37.19 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001082/1.103, allocations: 1.01 MB / 0.7006 GB, free: 36.17 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.103, allocations: 0 / 0.7006 GB, free: 36.17 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/1.103, allocations: 3.984 kB / 0.7006 GB, free: 36.17 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0138/1.117, allocations: 13.34 MB / 0.7136 GB, free: 21.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.94e-05/1.117, allocations: 20 kB / 0.7137 GB, free: 21.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006546/1.118, allocations: 211.6 kB / 0.7139 GB, free: 21.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.407e-05/1.118, allocations: 28 kB / 0.7139 GB, free: 21.68 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.631e-05/1.118, allocations: 47.98 kB / 0.7139 GB, free: 21.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.442e-05/1.118, allocations: 40.38 kB / 0.714 GB, free: 21.59 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.399e-05/1.118, allocations: 27.88 kB / 0.714 GB, free: 21.57 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0028/1.121, allocations: 3.725 MB / 0.7176 GB, free: 17.17 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006028/1.121, allocations: 339.1 kB / 0.718 GB, free: 16.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/1.121, allocations: 43.98 kB / 0.718 GB, free: 16.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006464/1.122, allocations: 75.95 kB / 0.7181 GB, free: 16.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/1.122, allocations: 123.5 kB / 0.7182 GB, free: 16.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.944e-05/1.122, allocations: 59.98 kB / 0.7183 GB, free: 16.52 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001298/1.124, allocations: 0.9618 MB / 0.7192 GB, free: 15.55 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.21e-07/1.124, allocations: 3.938 kB / 0.7192 GB, free: 15.55 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002719/1.126, allocations: 0.9632 MB / 0.7201 GB, free: 14.58 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * Number of states: 1 (currentSensor0.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete 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.0003638/1.127, allocations: 247.4 kB / 0.7204 GB, free: 14.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00234/1.129, allocations: 1.897 MB / 0.7222 GB, free: 12.45 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/1.129, allocations: 7.656 kB / 0.7222 GB, free: 12.45 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006303/1.13, allocations: 0.6248 MB / 0.7228 GB, free: 11.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/1.131, allocations: 348.7 kB / 0.7232 GB, free: 11.49 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009102/1.14, allocations: 5.69 MB / 0.7287 GB, free: 5.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002364/1.143, allocations: 3.141 MB / 0.7318 GB, free: 2.328 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001972/1.145, allocations: 0.8249 MB / 0.7326 GB, free: 1.496 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002428/1.145, allocations: 111.4 kB / 0.7327 GB, free: 1.387 MB / 442.7 MB Notification: Performance of SimCode: time 1.333e-06/1.145, allocations: 4 kB / 0.7327 GB, free: 1.383 MB / 442.7 MB Notification: Performance of Templates: time 0.03563/1.181, allocations: 17.4 MB / 0.7497 GB, free: 188 kB / 458.7 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