Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009031/0.0009034, allocations: 176.4 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 223.3 MB / 241.4 MB, free: 11.71 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008489/0.000849, allocations: 101 kB / 292.6 MB, free: 10.81 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004554/0.0004554, allocations: 15.94 kB / 352.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2593, allocations: 50.4 MB / 402.7 MB, free: 32.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1051/0.3645, allocations: 94.52 MB / 497.3 MB, free: 1.84 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.3648, allocations: 83.95 kB / 497.3 MB, free: 1.758 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2258/0.5906, allocations: 22.98 MB / 0.5081 GB, free: 91.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5906, allocations: 0 / 0.5081 GB, free: 91.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.743e-05/0.5907, allocations: 15.44 kB / 0.5081 GB, free: 91.98 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.001762/0.5925, allocations: 1.081 MB / 0.5092 GB, free: 91.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.5925, allocations: 8.562 kB / 0.5092 GB, free: 91.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004849/0.593, allocations: 143.6 kB / 0.5093 GB, free: 91.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.5941, allocations: 0.7173 MB / 0.5101 GB, free: 90.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/0.5941, allocations: 57.34 kB / 0.5101 GB, free: 90.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.5942, allocations: 80.31 kB / 0.5102 GB, free: 90.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.5953, allocations: 0.7764 MB / 0.5109 GB, free: 90.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.343e-05/0.5954, allocations: 10.12 kB / 0.5109 GB, free: 90.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.648e-05/0.5954, allocations: 35.81 kB / 0.511 GB, free: 90.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.5955, allocations: 19.31 kB / 0.511 GB, free: 90.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008825/0.5963, allocations: 0.5327 MB / 0.5115 GB, free: 90.81 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00327/0.5996, allocations: 3.454 MB / 0.5149 GB, free: 89.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00039/0.6, allocations: 239.3 kB / 0.5151 GB, free: 89.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.6002, allocations: 122.6 kB / 0.5152 GB, free: 89.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.6003, allocations: 7.453 kB / 0.5152 GB, free: 89.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.6003, allocations: 38.5 kB / 0.5153 GB, free: 89.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 2.064e-06/0.6003, allocations: 0 / 0.5153 GB, free: 89.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001668/0.602, allocations: 1.075 MB / 0.5163 GB, free: 88.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.602, allocations: 83.81 kB / 0.5164 GB, free: 88.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007057/0.6027, allocations: 0.6974 MB / 0.5171 GB, free: 87.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.6028, allocations: 35.39 kB / 0.5171 GB, free: 87.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.603, allocations: 0.4972 MB / 0.5176 GB, free: 87.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.119e-05/0.603, allocations: 103.8 kB / 0.5177 GB, free: 87.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.569e-05/0.6031, allocations: 8 kB / 0.5177 GB, free: 87.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.619e-05/0.6031, allocations: 385.5 kB / 0.5181 GB, free: 87.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.6034, allocations: 128.8 kB / 0.5182 GB, free: 87.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003227/0.6037, allocations: 434.5 kB / 0.5186 GB, free: 86.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005769/0.6043, allocations: 0.5851 MB / 0.5192 GB, free: 86.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.6043, allocations: 2.656 kB / 0.5192 GB, free: 86.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008888/0.6052, allocations: 0.6298 MB / 0.5198 GB, free: 85.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.6052, allocations: 17.28 kB / 0.5198 GB, free: 85.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.6053, allocations: 9.375 kB / 0.5198 GB, free: 85.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001367/0.6054, allocations: 36.86 kB / 0.5199 GB, free: 85.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/0.6058, allocations: 139.7 kB / 0.52 GB, free: 85.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006213/0.6064, allocations: 1.283 MB / 0.5213 GB, free: 84.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004084/0.6069, allocations: 45.66 kB / 0.5213 GB, free: 84.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/0.6069, allocations: 31.31 kB / 0.5213 GB, free: 84.41 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.0002772/0.6072, allocations: 240.6 kB / 0.5216 GB, free: 84.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.167e-05/0.6073, allocations: 71.38 kB / 0.5216 GB, free: 84.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005352/0.6078, allocations: 343.3 kB / 0.522 GB, free: 84.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.6078, allocations: 2.812 kB / 0.522 GB, free: 84.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.6078, allocations: 3.125 kB / 0.522 GB, free: 84.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.6078, allocations: 7.656 kB / 0.522 GB, free: 84.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.6091, allocations: 1.099 MB / 0.523 GB, free: 83.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.6091, allocations: 3.625 kB / 0.5231 GB, free: 83.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002345/0.6094, allocations: 57.19 kB / 0.5231 GB, free: 83.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.503e-05/0.6094, allocations: 33.69 kB / 0.5231 GB, free: 83.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.6095, allocations: 7.531 kB / 0.5231 GB, free: 83.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005421/0.61, allocations: 1.267 MB / 0.5244 GB, free: 82.03 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.61, allocations: 3.938 kB / 0.5244 GB, free: 82.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006726/0.6107, allocations: 0.5739 MB / 0.5249 GB, free: 81.67 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/0.6109, allocations: 165.8 kB / 0.5251 GB, free: 81.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.591e-05/0.611, allocations: 14.34 kB / 0.5251 GB, free: 81.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002834/0.6113, allocations: 20.78 kB / 0.5251 GB, free: 81.51 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.6113, allocations: 24.91 kB / 0.5252 GB, free: 81.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.6113, allocations: 13.86 kB / 0.5252 GB, free: 81.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004802/0.6118, allocations: 481.4 kB / 0.5256 GB, free: 81.28 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6118, allocations: 0 / 0.5256 GB, free: 81.28 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006694/0.6125, allocations: 196.1 kB / 0.5258 GB, free: 81.25 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.00039/0.6129, allocations: 309 kB / 0.5261 GB, free: 81.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007346/0.6137, allocations: 481.5 kB / 0.5266 GB, free: 80.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.6137, allocations: 0 / 0.5266 GB, free: 80.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002924/0.614, allocations: 245.4 kB / 0.5268 GB, free: 80.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009642/0.6149, allocations: 161.3 kB / 0.527 GB, free: 80.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.6169, allocations: 1.751 MB / 0.5287 GB, free: 79.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.6173, allocations: 0.9378 MB / 0.5296 GB, free: 78.83 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003441/0.6176, allocations: 93.98 kB / 0.5297 GB, free: 78.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.251e-05/0.6177, allocations: 51.22 kB / 0.5297 GB, free: 78.8 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.6177, allocations: 3.938 kB / 0.5297 GB, free: 78.8 MB / 378.7 MB Notification: Performance of Templates: time 0.01522/0.6329, allocations: 9.603 MB / 0.5391 GB, free: 72.39 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches