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.0009583/0.0009579, allocations: 172.2 kB / 14.1 MB, free: 1.223 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.336/1.336, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0007974/0.0007974, allocations: 78.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.715e-05/2.719e-05, allocations: 4 kB / 322.4 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08278/0.08282, allocations: 47.58 MB / 370 MB, free: 1.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3276/0.4105, allocations: 93.17 MB / 463.2 MB, free: 344 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002042/0.4108, allocations: 82.33 kB / 463.3 MB, free: 300 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05942/0.4702, allocations: 23.07 MB / 486.4 MB, free: 10.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4702, allocations: 4 kB / 486.4 MB, free: 10.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.207e-05/0.4703, allocations: 24 kB / 486.4 MB, free: 10.38 MB / 362.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.001328/0.4716, allocations: 0.9706 MB / 487.4 MB, free: 9.355 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.4716, allocations: 12.03 kB / 487.4 MB, free: 9.344 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004481/0.4721, allocations: 146.7 kB / 487.5 MB, free: 9.199 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.4732, allocations: 0.6796 MB / 488.2 MB, free: 8.477 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.811e-05/0.4733, allocations: 61.94 kB / 488.2 MB, free: 8.414 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.4734, allocations: 84 kB / 488.3 MB, free: 8.332 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.4746, allocations: 0.7288 MB / 489.1 MB, free: 7.574 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.4746, allocations: 8.5 kB / 489.1 MB, free: 7.566 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.237e-05/0.4747, allocations: 32 kB / 489.1 MB, free: 7.535 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.4747, allocations: 20 kB / 489.1 MB, free: 7.516 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000832/0.4755, allocations: 483.9 kB / 489.6 MB, free: 7.039 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003986/0.4795, allocations: 3.457 MB / 493 MB, free: 3.371 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003788/0.4799, allocations: 215.5 kB / 493.3 MB, free: 3.152 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.4801, allocations: 96.81 kB / 493.4 MB, free: 3.055 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.4801, allocations: 7.938 kB / 493.4 MB, free: 3.047 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.4802, allocations: 30.56 kB / 493.4 MB, free: 3.008 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 2.103e-06/0.4802, allocations: 0 / 493.4 MB, free: 3.008 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.001254/0.4814, allocations: 0.8073 MB / 494.2 MB, free: 2.145 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.4815, allocations: 85.34 kB / 494.3 MB, free: 2.043 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007354/0.4822, allocations: 0.617 MB / 494.9 MB, free: 1.422 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.4823, allocations: 29.7 kB / 494.9 MB, free: 1.387 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003307/0.4826, allocations: 0.4942 MB / 495.4 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.598e-05/0.4827, allocations: 106.5 kB / 495.5 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.196e-05/0.4827, allocations: 16 kB / 495.5 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.4829, allocations: 382.7 kB / 495.9 MB, free: 392 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.4831, allocations: 105.6 kB / 496 MB, free: 288 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003902/0.4835, allocations: 399.3 kB / 496.4 MB, free: 15.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/0.4837, allocations: 172.3 kB / 496.6 MB, free: 15.58 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4837, allocations: 4 kB / 496.6 MB, free: 15.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008364/0.4846, allocations: 0.5751 MB / 497.2 MB, free: 14.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.4846, allocations: 12.91 kB / 497.2 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/0.4846, allocations: 8 kB / 497.2 MB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000136/0.4848, allocations: 40.84 kB / 497.2 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004331/0.4852, allocations: 143.8 kB / 497.4 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009031/0.4862, allocations: 1.292 MB / 498.6 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003868/0.4866, allocations: 39.89 kB / 498.7 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-05/0.4866, allocations: 35.95 kB / 498.7 MB, free: 13.29 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 () * 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.0001052/0.4867, allocations: 144.8 kB / 498.9 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-05/0.4868, allocations: 67.16 kB / 498.9 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004726/0.4873, allocations: 285.5 kB / 499.2 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.4873, allocations: 8 kB / 499.2 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.4873, allocations: 3.938 kB / 499.2 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4873, allocations: 3.953 kB / 499.2 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/0.4887, allocations: 1.059 MB / 0.4886 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.4887, allocations: 4 kB / 0.4886 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002717/0.489, allocations: 68.11 kB / 0.4886 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.278e-05/0.489, allocations: 20.86 kB / 0.4886 GB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.4891, allocations: 8 kB / 0.4887 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000814/0.4899, allocations: 1.264 MB / 0.4899 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.4899, allocations: 4.031 kB / 0.4899 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006424/0.4906, allocations: 0.595 MB / 0.4905 GB, free: 9.438 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001926/0.4908, allocations: 168.3 kB / 0.4906 GB, free: 9.254 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.879e-05/0.4908, allocations: 8 kB / 0.4906 GB, free: 9.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002989/0.4911, allocations: 23.97 kB / 0.4907 GB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.807e-05/0.4912, allocations: 27.88 kB / 0.4907 GB, free: 9.195 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.4912, allocations: 15.98 kB / 0.4907 GB, free: 9.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005544/0.4918, allocations: 471.2 kB / 0.4912 GB, free: 8.727 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4918, allocations: 0 / 0.4912 GB, free: 8.727 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006487/0.4925, allocations: 192 kB / 0.4913 GB, free: 8.539 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 () * 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.000392/0.4929, allocations: 292.4 kB / 0.4916 GB, free: 8.246 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006092/0.4935, allocations: 428.4 kB / 0.492 GB, free: 7.816 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.4935, allocations: 4.375 kB / 0.492 GB, free: 7.812 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002665/0.4938, allocations: 218.4 kB / 0.4922 GB, free: 7.586 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007239/0.4945, allocations: 168.1 kB / 0.4924 GB, free: 7.422 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.4962, allocations: 1.035 MB / 0.4934 GB, free: 6.332 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005152/0.4967, allocations: 0.9608 MB / 0.4943 GB, free: 5.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003282/0.497, allocations: 90.02 kB / 0.4944 GB, free: 5.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.329e-05/0.4971, allocations: 47.44 kB / 0.4945 GB, free: 5.203 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4971, allocations: 0 / 0.4945 GB, free: 5.203 MB / 378.7 MB Notification: Performance of Templates: time 0.01617/0.5133, allocations: 9.803 MB / 0.504 GB, free: 11.39 MB / 394.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