Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.0009441/0.0009441, allocations: 179.1 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 205.3 MB / 214.4 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008909/0.0008909, allocations: 91.95 kB / 262.5 MB, free: 1.605 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.406e-05/1.408e-05, allocations: 8 kB / 315.5 MB, free: 22.69 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07586/0.07589, allocations: 47.58 MB / 363.1 MB, free: 7.055 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3025/0.3785, allocations: 92.75 MB / 455.8 MB, free: 3.133 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/0.3787, allocations: 85.64 kB / 455.9 MB, free: 3.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0588/0.4375, allocations: 22.75 MB / 478.7 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4376, allocations: 0 / 478.7 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.444e-05/0.4376, allocations: 20 kB / 478.7 MB, free: 496 kB / 346.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.001366/0.439, allocations: 0.9687 MB / 479.7 MB, free: 15.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.439, allocations: 12.03 kB / 479.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004405/0.4395, allocations: 138.7 kB / 479.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.4406, allocations: 0.691 MB / 480.5 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.4406, allocations: 28 kB / 480.5 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.63e-05/0.4407, allocations: 47.5 kB / 480.6 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007361/0.4414, allocations: 434.3 kB / 481 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009843/0.4424, allocations: 0.6248 MB / 481.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.975e-05/0.4425, allocations: 11.84 kB / 481.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.78e-05/0.4425, allocations: 0 / 481.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.4425, allocations: 20 kB / 481.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003638/0.4462, allocations: 3.297 MB / 484.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003193/0.4465, allocations: 193.6 kB / 485.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.4467, allocations: 90.48 kB / 485.2 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.4467, allocations: 4 kB / 485.2 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.4467, allocations: 41.58 kB / 485.3 MB, free: 10.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 1.633e-06/0.4468, allocations: 0 / 485.3 MB, free: 10.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.001213/0.448, allocations: 0.7528 MB / 486 MB, free: 10.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.448, allocations: 81.34 kB / 486.1 MB, free: 10.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006302/0.4487, allocations: 0.522 MB / 486.6 MB, free: 9.598 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.4487, allocations: 33.64 kB / 486.7 MB, free: 9.559 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003517/0.4491, allocations: 0.5017 MB / 487.2 MB, free: 9.051 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.777e-05/0.4492, allocations: 94.66 kB / 487.2 MB, free: 8.957 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.585e-05/0.4492, allocations: 0 / 487.2 MB, free: 8.957 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.4494, allocations: 370.8 kB / 487.6 MB, free: 8.586 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.4495, allocations: 97.55 kB / 487.7 MB, free: 8.492 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003836/0.4499, allocations: 385.6 kB / 488.1 MB, free: 7.973 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002646/0.4502, allocations: 168.8 kB / 488.2 MB, free: 7.809 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.4502, allocations: 0 / 488.2 MB, free: 7.809 MB / 362.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007762/0.451, allocations: 0.4973 MB / 488.7 MB, free: 7.301 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.451, allocations: 8.875 kB / 488.8 MB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.451, allocations: 12 kB / 488.8 MB, free: 7.281 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001513/0.4512, allocations: 32.86 kB / 488.8 MB, free: 7.246 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000444/0.4517, allocations: 147.7 kB / 488.9 MB, free: 7.102 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009572/0.4526, allocations: 1.233 MB / 490.2 MB, free: 5.754 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003971/0.453, allocations: 27.88 kB / 490.2 MB, free: 5.727 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-05/0.4531, allocations: 35.98 kB / 490.2 MB, free: 5.691 MB / 362.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 () * 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.000131/0.4532, allocations: 136.7 kB / 490.4 MB, free: 5.551 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.133e-05/0.4533, allocations: 63.25 kB / 490.4 MB, free: 5.488 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000425/0.4537, allocations: 261.1 kB / 490.7 MB, free: 5.219 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.4538, allocations: 4 kB / 490.7 MB, free: 5.215 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.4538, allocations: 3.938 kB / 490.7 MB, free: 5.211 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4538, allocations: 0 / 490.7 MB, free: 5.211 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.455, allocations: 0.9148 MB / 491.6 MB, free: 4.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.455, allocations: 4 kB / 491.6 MB, free: 4.227 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000286/0.4553, allocations: 68.08 kB / 491.7 MB, free: 4.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-05/0.4554, allocations: 24.84 kB / 491.7 MB, free: 4.133 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.4554, allocations: 0 / 491.7 MB, free: 4.133 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007701/0.4562, allocations: 1.229 MB / 492.9 MB, free: 2.785 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.4562, allocations: 0 / 492.9 MB, free: 2.785 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000583/0.4568, allocations: 0.56 MB / 493.5 MB, free: 2.141 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001971/0.457, allocations: 164.3 kB / 493.7 MB, free: 1.961 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.921e-05/0.4571, allocations: 4 kB / 493.7 MB, free: 1.957 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002995/0.4574, allocations: 15.98 kB / 493.7 MB, free: 1.941 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.944e-05/0.4575, allocations: 31.92 kB / 493.7 MB, free: 1.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.4575, allocations: 12 kB / 493.7 MB, free: 1.898 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004379/0.4579, allocations: 395.2 kB / 494.1 MB, free: 1.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.458, allocations: 0 / 494.1 MB, free: 1.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006296/0.4586, allocations: 155.9 kB / 494.3 MB, free: 1.367 MB / 362.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 () * 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.4589, allocations: 245.3 kB / 494.5 MB, free: 1.121 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000571/0.4595, allocations: 388.6 kB / 494.9 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4595, allocations: 0 / 494.9 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002337/0.4598, allocations: 205.6 kB / 495.1 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007219/0.4605, allocations: 156.4 kB / 495.2 MB, free: 376 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.4621, allocations: 0.9931 MB / 496.2 MB, free: 15.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000453/0.4626, allocations: 0.9604 MB / 497.2 MB, free: 14.33 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003295/0.4629, allocations: 85.5 kB / 497.3 MB, free: 14.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.004e-05/0.463, allocations: 51.42 kB / 497.3 MB, free: 14.19 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.4631, allocations: 4 kB / 497.3 MB, free: 14.19 MB / 378.7 MB Notification: Performance of Templates: time 0.01295/0.476, allocations: 7.009 MB / 0.4925 GB, free: 7.18 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins/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_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches