Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001473/0.001473, allocations: 185.8 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.969/1.969, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 98.38 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003994/0.0003996, allocations: 8 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.323, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1429/0.466, allocations: 93.28 MB / 467.8 MB, free: 3.465 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/0.4664, allocations: 87.95 kB / 467.9 MB, free: 3.379 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09372/0.5601, allocations: 23.05 MB / 491 MB, free: 12.17 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5602, allocations: 3.938 kB / 491 MB, free: 12.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.288e-05/0.5603, allocations: 20 kB / 491 MB, free: 12.14 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.002662/0.5629, allocations: 1.087 MB / 492.1 MB, free: 11.01 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.563, allocations: 12.02 kB / 492.1 MB, free: 11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007623/0.5638, allocations: 142.7 kB / 492.2 MB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001877/0.5657, allocations: 0.6874 MB / 492.9 MB, free: 10.13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.22e-05/0.5657, allocations: 62 kB / 493 MB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001937/0.566, allocations: 87.89 kB / 493 MB, free: 9.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002033/0.568, allocations: 0.7715 MB / 493.8 MB, free: 9.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.969e-05/0.5681, allocations: 0 / 493.8 MB, free: 9.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/0.5682, allocations: 39.98 kB / 493.9 MB, free: 9.141 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.599e-05/0.5682, allocations: 20 kB / 493.9 MB, free: 9.121 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/0.5699, allocations: 0.5309 MB / 494.4 MB, free: 8.586 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006241/0.5762, allocations: 3.458 MB / 497.9 MB, free: 4.918 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007431/0.577, allocations: 234.5 kB / 498.1 MB, free: 4.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.086e-05/0.577, allocations: 7.953 kB / 498.1 MB, free: 4.672 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.5771, allocations: 42.5 kB / 498.1 MB, free: 4.621 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 2.796e-06/0.5771, allocations: 0 / 498.1 MB, free: 4.621 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.003058/0.5801, allocations: 1.092 MB / 499.2 MB, free: 3.453 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.5802, allocations: 77.34 kB / 499.3 MB, free: 3.359 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.5814, allocations: 0.6131 MB / 499.9 MB, free: 2.742 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.531e-05/0.5814, allocations: 33.69 kB / 500 MB, free: 2.703 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004258/0.5819, allocations: 0.52 MB / 0.4887 GB, free: 2.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.582, allocations: 98.56 kB / 0.4888 GB, free: 2.082 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.582, allocations: 12 kB / 0.4889 GB, free: 2.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.5822, allocations: 338.8 kB / 0.4892 GB, free: 1.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004651/0.5827, allocations: 133.2 kB / 0.4893 GB, free: 1.602 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006925/0.5834, allocations: 422.2 kB / 0.4897 GB, free: 1.047 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000603/0.584, allocations: 212 kB / 0.4899 GB, free: 0.8398 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.584, allocations: 0 / 0.4899 GB, free: 0.8398 MB / 378.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001568/0.5856, allocations: 0.5887 MB / 0.4905 GB, free: 248 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.5856, allocations: 8 kB / 0.4905 GB, free: 240 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.5857, allocations: 8 kB / 0.4905 GB, free: 232 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001898/0.5859, allocations: 32.84 kB / 0.4905 GB, free: 196 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008254/0.5867, allocations: 143.8 kB / 0.4907 GB, free: 52 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2741/0.8608, allocations: 1.289 MB / 0.4919 GB, free: 97.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009165/0.8618, allocations: 35.45 kB / 0.492 GB, free: 97.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.281e-05/0.8619, allocations: 31.3 kB / 0.492 GB, free: 97.62 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.0005968/0.8625, allocations: 241.4 kB / 0.4922 GB, free: 97.51 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.8627, allocations: 71.41 kB / 0.4923 GB, free: 97.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.8639, allocations: 342.8 kB / 0.4926 GB, free: 97.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.864, allocations: 3.156 kB / 0.4926 GB, free: 97.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.864, allocations: 0.6562 kB / 0.4926 GB, free: 97.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.864, allocations: 3.844 kB / 0.4926 GB, free: 97.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0027/0.8667, allocations: 1.097 MB / 0.4937 GB, free: 97.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.8668, allocations: 3.625 kB / 0.4937 GB, free: 97.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005057/0.8673, allocations: 62.66 kB / 0.4938 GB, free: 97.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000153/0.8674, allocations: 26.44 kB / 0.4938 GB, free: 97.08 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/0.8675, allocations: 8.594 kB / 0.4938 GB, free: 97.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008948/0.8684, allocations: 1.277 MB / 0.495 GB, free: 95.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.8684, allocations: 5.312 kB / 0.495 GB, free: 95.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/0.8699, allocations: 0.6567 MB / 0.4957 GB, free: 95.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003465/0.8702, allocations: 171.1 kB / 0.4958 GB, free: 95.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/0.8704, allocations: 12.09 kB / 0.4959 GB, free: 95.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005286/0.8709, allocations: 28.89 kB / 0.4959 GB, free: 95.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.876e-05/0.871, allocations: 25.86 kB / 0.4959 GB, free: 95.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/0.8711, allocations: 10.34 kB / 0.4959 GB, free: 95.42 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009884/0.872, allocations: 482.7 kB / 0.4964 GB, free: 95.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.8721, allocations: 4.969 kB / 0.4964 GB, free: 95.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001138/0.8732, allocations: 192.5 kB / 0.4966 GB, free: 95.32 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.0005306/0.8738, allocations: 282.3 kB / 0.4968 GB, free: 95.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001296/0.8751, allocations: 476.9 kB / 0.4973 GB, free: 95.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.8751, allocations: 1.062 kB / 0.4973 GB, free: 95.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005713/0.8757, allocations: 243.3 kB / 0.4975 GB, free: 95.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/0.8771, allocations: 167.9 kB / 0.4977 GB, free: 95.01 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003534/0.8806, allocations: 1.781 MB / 0.4994 GB, free: 94.06 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005597/0.8813, allocations: 0.9606 MB / 0.5004 GB, free: 93.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002693/0.8815, allocations: 55.16 kB / 0.5004 GB, free: 93.34 MB / 378.7 MB Notification: Performance of SimCode: time 1.303e-06/0.8816, allocations: 4.625 kB / 0.5004 GB, free: 93.34 MB / 378.7 MB Notification: Performance of Templates: time 0.02521/0.9068, allocations: 13.78 MB / 0.5139 GB, free: 92.39 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches