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_QuasiStationary.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_QuasiStationary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm1.la.i|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm1.la.i|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00156/0.00156, allocations: 185.3 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.954/1.954, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001095/0.001095, allocations: 81.3 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003865/0.0003865, allocations: 8 kB / 327 MB, free: 220 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3208, allocations: 47.57 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1476/0.4684, allocations: 94.57 MB / 469.1 MB, free: 2.184 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/0.4688, allocations: 83.95 kB / 469.2 MB, free: 2.102 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.432/0.9008, allocations: 40.74 MB / 0.498 GB, free: 92.24 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.9009, allocations: 1.25 kB / 0.498 GB, free: 92.24 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001357/0.901, allocations: 38.67 kB / 0.498 GB, free: 92.23 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.00569/0.9067, allocations: 1.749 MB / 0.4997 GB, free: 91.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.9068, allocations: 9.375 kB / 0.4997 GB, free: 91.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001587/0.9084, allocations: 261.8 kB / 0.5 GB, free: 91.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003436/0.9118, allocations: 1.103 MB / 0.5011 GB, free: 90.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.912, allocations: 112.1 kB / 0.5012 GB, free: 90.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003839/0.9124, allocations: 163.2 kB / 0.5013 GB, free: 90.85 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004102/0.9165, allocations: 1.469 MB / 0.5028 GB, free: 90.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.668e-05/0.9167, allocations: 9.125 kB / 0.5028 GB, free: 90.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001941/0.9169, allocations: 66.12 kB / 0.5028 GB, free: 90.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.602e-05/0.9169, allocations: 40.94 kB / 0.5029 GB, free: 90.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003332/0.9203, allocations: 0.9808 MB / 0.5038 GB, free: 90.6 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01212/0.9324, allocations: 6.661 MB / 0.5103 GB, free: 87.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/0.9337, allocations: 409.9 kB / 0.5107 GB, free: 87.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.006e-05/0.9338, allocations: 12.25 kB / 0.5107 GB, free: 87.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006867/0.9345, allocations: 269.8 kB / 0.511 GB, free: 87.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 3.016e-06/0.9345, allocations: 0 / 0.511 GB, free: 87.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=56): time 0.005115/0.9397, allocations: 1.798 MB / 0.5128 GB, free: 86.19 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/0.9398, allocations: 161.2 kB / 0.5129 GB, free: 86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002049/0.9418, allocations: 1.08 MB / 0.514 GB, free: 85.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.78e-05/0.942, allocations: 41.23 kB / 0.514 GB, free: 85.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006229/0.9426, allocations: 0.8495 MB / 0.5148 GB, free: 84.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/0.9428, allocations: 207.2 kB / 0.515 GB, free: 84.63 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.901e-05/0.9429, allocations: 23.28 kB / 0.515 GB, free: 84.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.943, allocations: 355.5 kB / 0.5154 GB, free: 84.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007367/0.9437, allocations: 235.8 kB / 0.5156 GB, free: 84.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/0.9448, allocations: 0.8098 MB / 0.5164 GB, free: 83.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.9458, allocations: 406.1 kB / 0.5168 GB, free: 83.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-05/0.9459, allocations: 3.594 kB / 0.5168 GB, free: 83.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002954/0.9488, allocations: 1.115 MB / 0.5179 GB, free: 82.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.836e-05/0.9489, allocations: 44.41 kB / 0.5179 GB, free: 82.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.424e-05/0.949, allocations: 27.91 kB / 0.518 GB, free: 82.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003309/0.9493, allocations: 59.67 kB / 0.518 GB, free: 82.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001546/0.9509, allocations: 276 kB / 0.5183 GB, free: 82.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00201/0.9529, allocations: 2.598 MB / 0.5208 GB, free: 79.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001809/0.9548, allocations: 78.52 kB / 0.5209 GB, free: 79.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001874/0.955, allocations: 57.12 kB / 0.5209 GB, free: 79.89 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009859/0.9561, allocations: 361.5 kB / 0.5213 GB, free: 79.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003911/0.9565, allocations: 130 kB / 0.5214 GB, free: 79.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001765/0.9582, allocations: 0.5663 MB / 0.522 GB, free: 79.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.9583, allocations: 7.406 kB / 0.522 GB, free: 79.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.9583, allocations: 0 / 0.522 GB, free: 79.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.9583, allocations: 3.047 kB / 0.522 GB, free: 79.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004368/0.9627, allocations: 1.858 MB / 0.5238 GB, free: 78.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.9628, allocations: 3.312 kB / 0.5238 GB, free: 78.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008255/0.9636, allocations: 108.7 kB / 0.5239 GB, free: 78.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002375/0.9639, allocations: 42.48 kB / 0.5239 GB, free: 78.24 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5e-05/0.9639, allocations: 20.7 kB / 0.524 GB, free: 78.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001822/0.9658, allocations: 2.56 MB / 0.5265 GB, free: 75.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.9658, allocations: 7.5 kB / 0.5265 GB, free: 75.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002327/0.9682, allocations: 1.129 MB / 0.5276 GB, free: 74.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007387/0.9689, allocations: 252.8 kB / 0.5278 GB, free: 74.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002522/0.9692, allocations: 15 kB / 0.5278 GB, free: 74.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009288/0.9702, allocations: 37.41 kB / 0.5279 GB, free: 74.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/0.9703, allocations: 52.56 kB / 0.5279 GB, free: 74.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.194e-05/0.9704, allocations: 21.7 kB / 0.5279 GB, free: 74.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001673/0.9721, allocations: 0.8056 MB / 0.5287 GB, free: 74.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.92e-07/0.9721, allocations: 4 kB / 0.5287 GB, free: 74.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002044/0.9742, allocations: 351 kB / 0.529 GB, free: 74.11 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 5 (dcpm1.inertiaRotor.phi,dcpm1.inertiaRotor.w,dcpm1.la.i,dcpm2.inertiaRotor.phi,dcpm2.inertiaRotor.w) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006573/0.9749, allocations: 305.9 kB / 0.5293 GB, free: 73.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002256/0.9771, allocations: 0.9387 MB / 0.5303 GB, free: 73.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/0.9772, allocations: 3.25 kB / 0.5303 GB, free: 73.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009806/0.9782, allocations: 473.5 kB / 0.5307 GB, free: 73.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002541/0.9808, allocations: 302.5 kB / 0.531 GB, free: 73.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006805/0.9876, allocations: 3.119 MB / 0.534 GB, free: 71.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008161/0.9885, allocations: 1.209 MB / 0.5352 GB, free: 70.33 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004201/0.9889, allocations: 95.89 kB / 0.5353 GB, free: 70.32 MB / 378.7 MB Notification: Performance of SimCode: time 1.503e-06/0.9889, allocations: 0 / 0.5353 GB, free: 70.32 MB / 378.7 MB Notification: Performance of Templates: time 0.05449/1.043, allocations: 30.88 MB / 0.5655 GB, free: 44.5 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary_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_QuasiStationary/DCPM_QuasiStationary.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches