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.001793/0.001793, allocations: 200.8 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 226.5 MB / 245.4 MB, free: 6.516 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007215/0.0007214, allocations: 97.05 kB / 297.5 MB, free: 6.695 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002392/0.0002394, allocations: 4 kB / 358.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2312, allocations: 51.29 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1507/0.3819, allocations: 95.22 MB / 0.4928 GB, free: 12.26 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/0.3823, allocations: 87.95 kB / 0.4929 GB, free: 12.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2899/0.6722, allocations: 23.03 MB / 0.5154 GB, free: 91.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6722, allocations: 0 / 0.5154 GB, free: 91.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.348e-05/0.6723, allocations: 21.38 kB / 0.5154 GB, free: 91.43 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.0017/0.674, allocations: 1.081 MB / 0.5164 GB, free: 90.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.674, allocations: 7.812 kB / 0.5164 GB, free: 90.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005125/0.6746, allocations: 150 kB / 0.5166 GB, free: 90.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.6757, allocations: 0.7119 MB / 0.5173 GB, free: 90.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.697e-05/0.6757, allocations: 60.97 kB / 0.5173 GB, free: 90.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.6758, allocations: 83.06 kB / 0.5174 GB, free: 90.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.677, allocations: 0.7826 MB / 0.5182 GB, free: 89.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.572e-05/0.677, allocations: 7.844 kB / 0.5182 GB, free: 89.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.717e-05/0.6771, allocations: 41 kB / 0.5182 GB, free: 89.67 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.6771, allocations: 19.59 kB / 0.5182 GB, free: 89.67 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000907/0.678, allocations: 0.5276 MB / 0.5188 GB, free: 89.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003344/0.6814, allocations: 3.449 MB / 0.5221 GB, free: 87.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004064/0.6818, allocations: 231.9 kB / 0.5223 GB, free: 86.96 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002132/0.682, allocations: 141.5 kB / 0.5225 GB, free: 86.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.6821, allocations: 3.469 kB / 0.5225 GB, free: 86.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.6821, allocations: 34.19 kB / 0.5225 GB, free: 86.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 1.703e-06/0.6821, allocations: 0 / 0.5225 GB, free: 86.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001708/0.6838, allocations: 1.082 MB / 0.5236 GB, free: 86.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.6838, allocations: 81.31 kB / 0.5236 GB, free: 86.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000688/0.6845, allocations: 0.7022 MB / 0.5243 GB, free: 85.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.6846, allocations: 29.7 kB / 0.5244 GB, free: 85.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.6848, allocations: 0.4951 MB / 0.5248 GB, free: 85.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.007e-05/0.6848, allocations: 103 kB / 0.5249 GB, free: 85.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.637e-05/0.6849, allocations: 12 kB / 0.525 GB, free: 85.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.998e-05/0.6849, allocations: 376.8 kB / 0.5253 GB, free: 84.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/0.6852, allocations: 135.3 kB / 0.5254 GB, free: 84.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003245/0.6855, allocations: 422.9 kB / 0.5258 GB, free: 84.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006309/0.6862, allocations: 0.5985 MB / 0.5264 GB, free: 83.87 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.6862, allocations: 0 / 0.5264 GB, free: 83.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008882/0.6871, allocations: 0.6379 MB / 0.5271 GB, free: 83.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.6871, allocations: 11.81 kB / 0.5271 GB, free: 83.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.6871, allocations: 11.38 kB / 0.5271 GB, free: 83.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001317/0.6873, allocations: 31.8 kB / 0.5271 GB, free: 83.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003787/0.6877, allocations: 139.6 kB / 0.5272 GB, free: 83.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006677/0.6883, allocations: 1.286 MB / 0.5285 GB, free: 82.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004224/0.6888, allocations: 43.3 kB / 0.5285 GB, free: 82.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/0.6888, allocations: 27.53 kB / 0.5286 GB, free: 82.23 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.0002845/0.6891, allocations: 244.3 kB / 0.5288 GB, free: 82.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.141e-05/0.6892, allocations: 69.88 kB / 0.5289 GB, free: 81.99 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005577/0.6898, allocations: 340.6 kB / 0.5292 GB, free: 81.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.6898, allocations: 4 kB / 0.5292 GB, free: 81.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.6898, allocations: 0 / 0.5292 GB, free: 81.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.6898, allocations: 0 / 0.5292 GB, free: 81.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.6911, allocations: 1.097 MB / 0.5303 GB, free: 80.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.6911, allocations: 7.938 kB / 0.5303 GB, free: 80.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.6913, allocations: 64.12 kB / 0.5303 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.954e-05/0.6914, allocations: 24.84 kB / 0.5304 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.6914, allocations: 8 kB / 0.5304 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005417/0.692, allocations: 1.284 MB / 0.5316 GB, free: 79.15 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.692, allocations: 0 / 0.5316 GB, free: 79.15 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006914/0.6927, allocations: 0.5755 MB / 0.5322 GB, free: 78.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.6929, allocations: 164.3 kB / 0.5323 GB, free: 78.35 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.487e-05/0.693, allocations: 11.94 kB / 0.5323 GB, free: 78.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002992/0.6933, allocations: 23.98 kB / 0.5324 GB, free: 78.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.923e-05/0.6933, allocations: 23.97 kB / 0.5324 GB, free: 78.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.6934, allocations: 8 kB / 0.5324 GB, free: 78.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004666/0.6938, allocations: 483 kB / 0.5329 GB, free: 77.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.22e-07/0.6938, allocations: 4 kB / 0.5329 GB, free: 77.81 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006565/0.6945, allocations: 199.9 kB / 0.5331 GB, free: 77.62 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.0003439/0.6949, allocations: 295 kB / 0.5333 GB, free: 77.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000708/0.6956, allocations: 476.1 kB / 0.5338 GB, free: 76.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.6956, allocations: 3.938 kB / 0.5338 GB, free: 76.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003049/0.6959, allocations: 243.1 kB / 0.534 GB, free: 76.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009872/0.6969, allocations: 177.7 kB / 0.5342 GB, free: 76.44 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.6989, allocations: 1.746 MB / 0.5359 GB, free: 74.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.6992, allocations: 0.9414 MB / 0.5368 GB, free: 73.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003484/0.6996, allocations: 86.03 kB / 0.5369 GB, free: 73.58 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.368e-05/0.6997, allocations: 51.42 kB / 0.537 GB, free: 73.53 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.6997, allocations: 0 / 0.537 GB, free: 73.53 MB / 378.7 MB Notification: Performance of Templates: time 0.01501/0.7147, allocations: 9.613 MB / 0.5463 GB, free: 64.01 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/jenkins1/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