Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009891/0.0009891, allocations: 199 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.208/1.208, allocations: 227.2 MB / 245 MB, free: 7.59 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008792/0.0008792, allocations: 101.6 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002311/0.0002312, allocations: 8 kB / 357.9 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1829, allocations: 51.48 MB / 409.4 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09793/0.2808, allocations: 95.24 MB / 0.4928 GB, free: 11.36 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/0.2811, allocations: 83.95 kB / 0.4929 GB, free: 11.28 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2033/0.4844, allocations: 23.15 MB / 0.5155 GB, free: 90.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4845, allocations: 0 / 0.5155 GB, free: 90.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.692e-05/0.4845, allocations: 18.36 kB / 0.5155 GB, free: 90.61 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.001378/0.4859, allocations: 1.099 MB / 0.5166 GB, free: 89.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.4859, allocations: 5.531 kB / 0.5166 GB, free: 89.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004014/0.4863, allocations: 149.9 kB / 0.5167 GB, free: 89.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009143/0.4873, allocations: 0.6849 MB / 0.5174 GB, free: 89.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/0.4873, allocations: 58.62 kB / 0.5175 GB, free: 89.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.441e-05/0.4874, allocations: 82.03 kB / 0.5176 GB, free: 89.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009856/0.4884, allocations: 0.778 MB / 0.5183 GB, free: 88.9 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.4884, allocations: 3.984 kB / 0.5183 GB, free: 88.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.377e-05/0.4885, allocations: 34.42 kB / 0.5183 GB, free: 88.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.4885, allocations: 20.53 kB / 0.5184 GB, free: 88.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008387/0.4893, allocations: 0.5359 MB / 0.5189 GB, free: 88.67 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002955/0.4923, allocations: 3.453 MB / 0.5223 GB, free: 86.24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004408/0.4928, allocations: 236.8 kB / 0.5225 GB, free: 86.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.4928, allocations: 4 kB / 0.5225 GB, free: 86.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.4928, allocations: 46.27 kB / 0.5225 GB, free: 86.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 2.144e-06/0.4928, allocations: 0 / 0.5225 GB, free: 86.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001727/0.4946, allocations: 1.076 MB / 0.5236 GB, free: 85.37 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.4946, allocations: 85.25 kB / 0.5237 GB, free: 85.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006031/0.4952, allocations: 0.6186 MB / 0.5243 GB, free: 84.99 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.4953, allocations: 33.48 kB / 0.5243 GB, free: 84.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/0.4955, allocations: 0.4897 MB / 0.5248 GB, free: 84.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.035e-05/0.4955, allocations: 117.1 kB / 0.5249 GB, free: 84.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.734e-05/0.4956, allocations: 15.81 kB / 0.5249 GB, free: 84.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.243e-05/0.4957, allocations: 377.4 kB / 0.5253 GB, free: 84.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.4959, allocations: 126.6 kB / 0.5254 GB, free: 84.08 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003063/0.4962, allocations: 425.2 kB / 0.5258 GB, free: 83.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002884/0.4965, allocations: 202.3 kB / 0.526 GB, free: 83.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.4965, allocations: 3.094 kB / 0.526 GB, free: 83.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008138/0.4973, allocations: 0.6219 MB / 0.5266 GB, free: 83.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.4974, allocations: 19.72 kB / 0.5266 GB, free: 83.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.4974, allocations: 7.938 kB / 0.5266 GB, free: 83.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001217/0.4975, allocations: 36.36 kB / 0.5267 GB, free: 83.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003929/0.4979, allocations: 141.5 kB / 0.5268 GB, free: 83.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006145/0.4985, allocations: 1.292 MB / 0.5281 GB, free: 81.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003734/0.4989, allocations: 40.14 kB / 0.5281 GB, free: 81.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.499, allocations: 32 kB / 0.5281 GB, free: 81.63 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000219/0.4992, allocations: 237.6 kB / 0.5284 GB, free: 81.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-05/0.4993, allocations: 75.11 kB / 0.5284 GB, free: 81.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005436/0.4998, allocations: 341.3 kB / 0.5288 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.4998, allocations: 4 kB / 0.5288 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.4998, allocations: 0 / 0.5288 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.4998, allocations: 4.047 kB / 0.5288 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.501, allocations: 1.099 MB / 0.5298 GB, free: 79.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.5011, allocations: 7.984 kB / 0.5298 GB, free: 79.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/0.5013, allocations: 60.19 kB / 0.5299 GB, free: 79.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.471e-05/0.5014, allocations: 32.78 kB / 0.5299 GB, free: 79.69 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.5014, allocations: 8 kB / 0.5299 GB, free: 79.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005223/0.5019, allocations: 1.276 MB / 0.5312 GB, free: 78.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.502, allocations: 0 / 0.5312 GB, free: 78.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007016/0.5027, allocations: 0.658 MB / 0.5318 GB, free: 77.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.5028, allocations: 176.2 kB / 0.532 GB, free: 77.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.483e-05/0.5029, allocations: 8 kB / 0.532 GB, free: 77.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002937/0.5032, allocations: 23.98 kB / 0.532 GB, free: 77.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.417e-05/0.5033, allocations: 23.97 kB / 0.532 GB, free: 77.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.5033, allocations: 8 kB / 0.5321 GB, free: 77.28 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00043/0.5037, allocations: 487 kB / 0.5325 GB, free: 76.81 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5037, allocations: 3.938 kB / 0.5325 GB, free: 76.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005897/0.5043, allocations: 199.9 kB / 0.5327 GB, free: 76.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i) * 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003315/0.5047, allocations: 279.1 kB / 0.533 GB, free: 76.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007264/0.5054, allocations: 483.4 kB / 0.5334 GB, free: 75.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5054, allocations: 1.812 kB / 0.5334 GB, free: 75.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002907/0.5057, allocations: 247 kB / 0.5337 GB, free: 75.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006544/0.5064, allocations: 169 kB / 0.5338 GB, free: 75.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.5081, allocations: 1.757 MB / 0.5356 GB, free: 73.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.5084, allocations: 0.9569 MB / 0.5365 GB, free: 72.65 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002951/0.5087, allocations: 94.02 kB / 0.5366 GB, free: 72.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.5088, allocations: 47.44 kB / 0.5366 GB, free: 72.51 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5088, allocations: 0 / 0.5366 GB, free: 72.51 MB / 378.7 MB Notification: Performance of Templates: time 0.01305/0.5218, allocations: 9.432 MB / 0.5458 GB, free: 63.17 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches