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.001008/0.001008, allocations: 179.5 kB / 16.39 MB, free: 5.766 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.378/1.378, allocations: 223.2 MB / 240.3 MB, free: 10.14 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.001124/0.001124, allocations: 90.77 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003514, allocations: 11.94 kB / 351.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2535, allocations: 50.39 MB / 401.5 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1126/0.3662, allocations: 94.43 MB / 495.9 MB, free: 1.984 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/0.3665, allocations: 91.89 kB / 496 MB, free: 1.895 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2448/0.6113, allocations: 23.07 MB / 0.5069 GB, free: 91.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.6114, allocations: 0 / 0.5069 GB, free: 91.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.664e-05/0.6114, allocations: 19.53 kB / 0.5069 GB, free: 91.89 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.00153/0.613, allocations: 1.088 MB / 0.508 GB, free: 91.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.613, allocations: 11.72 kB / 0.508 GB, free: 91.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004341/0.6134, allocations: 141.8 kB / 0.5082 GB, free: 91.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009813/0.6144, allocations: 0.6951 MB / 0.5088 GB, free: 90.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.897e-05/0.6145, allocations: 58.66 kB / 0.5089 GB, free: 90.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.935e-05/0.6146, allocations: 83.8 kB / 0.509 GB, free: 90.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.6156, allocations: 0.7736 MB / 0.5097 GB, free: 90.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/0.6157, allocations: 6.531 kB / 0.5097 GB, free: 90.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.677e-05/0.6158, allocations: 29.03 kB / 0.5098 GB, free: 90.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.6158, allocations: 21.59 kB / 0.5098 GB, free: 90.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008252/0.6166, allocations: 0.53 MB / 0.5103 GB, free: 90.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003263/0.6199, allocations: 3.453 MB / 0.5137 GB, free: 89.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004322/0.6203, allocations: 229.2 kB / 0.5139 GB, free: 89.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.864e-05/0.6204, allocations: 7 kB / 0.5139 GB, free: 89.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.6204, allocations: 40.72 kB / 0.5139 GB, free: 89.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 2.885e-06/0.6204, allocations: 0 / 0.5139 GB, free: 89.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001858/0.6223, allocations: 1.081 MB / 0.515 GB, free: 88.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.6223, allocations: 81.25 kB / 0.5151 GB, free: 88.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006369/0.623, allocations: 0.6227 MB / 0.5157 GB, free: 87.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.623, allocations: 29.7 kB / 0.5157 GB, free: 87.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002203/0.6232, allocations: 499.4 kB / 0.5162 GB, free: 87.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.109e-05/0.6233, allocations: 109.9 kB / 0.5163 GB, free: 87.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.635e-05/0.6233, allocations: 14.34 kB / 0.5163 GB, free: 87.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.547e-05/0.6234, allocations: 384.2 kB / 0.5167 GB, free: 87.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.6237, allocations: 127.7 kB / 0.5168 GB, free: 87.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003511/0.624, allocations: 430 kB / 0.5172 GB, free: 86.63 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002951/0.6243, allocations: 204.4 kB / 0.5174 GB, free: 86.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.6243, allocations: 4 kB / 0.5174 GB, free: 86.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008779/0.6252, allocations: 0.6379 MB / 0.518 GB, free: 86.26 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.6252, allocations: 9.375 kB / 0.518 GB, free: 86.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.6253, allocations: 13.16 kB / 0.518 GB, free: 86.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001528/0.6254, allocations: 33.14 kB / 0.5181 GB, free: 86.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004048/0.6258, allocations: 142 kB / 0.5182 GB, free: 86.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000675/0.6265, allocations: 1.29 MB / 0.5195 GB, free: 84.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004106/0.6269, allocations: 49.14 kB / 0.5195 GB, free: 84.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-05/0.627, allocations: 28.84 kB / 0.5195 GB, free: 84.9 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.0002842/0.6273, allocations: 240.8 kB / 0.5198 GB, free: 84.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.635e-05/0.6274, allocations: 70.25 kB / 0.5198 GB, free: 84.67 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005631/0.6279, allocations: 337.5 kB / 0.5202 GB, free: 84.51 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.6279, allocations: 3.875 kB / 0.5202 GB, free: 84.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.628, allocations: 3.938 kB / 0.5202 GB, free: 84.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.628, allocations: 0 / 0.5202 GB, free: 84.51 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/0.6292, allocations: 1.104 MB / 0.5212 GB, free: 83.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.6293, allocations: 7.016 kB / 0.5212 GB, free: 83.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/0.6295, allocations: 68.22 kB / 0.5213 GB, free: 83.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.409e-05/0.6296, allocations: 23.25 kB / 0.5213 GB, free: 83.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.6296, allocations: 6.906 kB / 0.5213 GB, free: 83.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005659/0.6302, allocations: 1.274 MB / 0.5226 GB, free: 82.51 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.6302, allocations: 3.594 kB / 0.5226 GB, free: 82.51 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007112/0.6309, allocations: 0.6571 MB / 0.5232 GB, free: 82.03 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001676/0.6311, allocations: 172.4 kB / 0.5234 GB, free: 81.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.618e-05/0.6312, allocations: 7.531 kB / 0.5234 GB, free: 81.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002897/0.6315, allocations: 21.33 kB / 0.5234 GB, free: 81.87 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.437e-05/0.6315, allocations: 33.05 kB / 0.5235 GB, free: 81.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.6316, allocations: 10.25 kB / 0.5235 GB, free: 81.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004877/0.6321, allocations: 480.5 kB / 0.5239 GB, free: 81.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6321, allocations: 0 / 0.5239 GB, free: 81.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006849/0.6328, allocations: 197.2 kB / 0.5241 GB, free: 81.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.0003562/0.6331, allocations: 299 kB / 0.5244 GB, free: 81.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007217/0.6339, allocations: 480.3 kB / 0.5249 GB, free: 81.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6339, allocations: 0 / 0.5249 GB, free: 81.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002967/0.6342, allocations: 247.6 kB / 0.5251 GB, free: 81.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007054/0.6349, allocations: 164.5 kB / 0.5252 GB, free: 81.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.6371, allocations: 1.746 MB / 0.527 GB, free: 79.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.6375, allocations: 0.9592 MB / 0.5279 GB, free: 79.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003335/0.6378, allocations: 98.05 kB / 0.528 GB, free: 79.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.677e-05/0.6379, allocations: 46.56 kB / 0.528 GB, free: 79.17 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.6379, allocations: 0 / 0.528 GB, free: 79.17 MB / 378.7 MB Notification: Performance of Templates: time 0.01547/0.6534, allocations: 9.436 MB / 0.5372 GB, free: 73.23 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/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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches