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.001002/0.001003, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.236/1.236, allocations: 221.5 MB / 230.3 MB, free: 7.52 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008472/0.0008472, allocations: 92.45 kB / 281.2 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.465e-05/1.469e-05, allocations: 0 / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07926/0.07929, allocations: 50.42 MB / 387.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2854/0.3647, allocations: 93.7 MB / 481.2 MB, free: 1.137 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/0.365, allocations: 75.95 kB / 481.2 MB, free: 1.062 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05986/0.4249, allocations: 22.78 MB / 0.4922 GB, free: 10.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4249, allocations: 0 / 0.4922 GB, free: 10.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.729e-05/0.425, allocations: 16 kB / 0.4922 GB, free: 10.11 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.001819/0.4268, allocations: 0.9674 MB / 0.4932 GB, free: 9.098 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.4269, allocations: 8.031 kB / 0.4932 GB, free: 9.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000623/0.4275, allocations: 146.7 kB / 0.4933 GB, free: 8.945 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/0.4289, allocations: 0.6874 MB / 0.494 GB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.28e-05/0.429, allocations: 28 kB / 0.494 GB, free: 8.184 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.4291, allocations: 48 kB / 0.4941 GB, free: 8.137 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000887/0.43, allocations: 435.9 kB / 0.4945 GB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.4312, allocations: 0.6194 MB / 0.4951 GB, free: 7.062 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.387e-05/0.4312, allocations: 11.84 kB / 0.4951 GB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.087e-05/0.4313, allocations: 0 / 0.4951 GB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/0.4313, allocations: 20 kB / 0.4951 GB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004233/0.4355, allocations: 3.294 MB / 0.4983 GB, free: 3.535 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003596/0.4359, allocations: 203.3 kB / 0.4985 GB, free: 3.328 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.4361, allocations: 85.3 kB / 0.4986 GB, free: 3.242 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.4361, allocations: 4 kB / 0.4986 GB, free: 3.238 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.4361, allocations: 38.66 kB / 0.4986 GB, free: 3.191 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 1.864e-06/0.4361, allocations: 0 / 0.4986 GB, free: 3.191 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.00132/0.4375, allocations: 0.7606 MB / 0.4994 GB, free: 2.371 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.4375, allocations: 85.34 kB / 0.4995 GB, free: 2.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006112/0.4381, allocations: 0.5152 MB / 0.5 GB, free: 1.746 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.4382, allocations: 25.7 kB / 0.5 GB, free: 1.715 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002881/0.4385, allocations: 0.5016 MB / 0.5005 GB, free: 1.207 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.418e-05/0.4385, allocations: 106.6 kB / 0.5006 GB, free: 1.102 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.542e-05/0.4386, allocations: 0 / 0.5006 GB, free: 1.102 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.4387, allocations: 374.8 kB / 0.5009 GB, free: 0.7266 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.4389, allocations: 97.56 kB / 0.501 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003025/0.4392, allocations: 382.5 kB / 0.5014 GB, free: 120 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.4394, allocations: 163.8 kB / 0.5016 GB, free: 15.96 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.4394, allocations: 4 kB / 0.5016 GB, free: 15.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007475/0.4402, allocations: 0.5022 MB / 0.5021 GB, free: 15.44 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.4402, allocations: 12 kB / 0.5021 GB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.4402, allocations: 8 kB / 0.5021 GB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001438/0.4404, allocations: 32.86 kB / 0.5021 GB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004479/0.4409, allocations: 143.7 kB / 0.5022 GB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008641/0.4417, allocations: 1.241 MB / 0.5035 GB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004263/0.4422, allocations: 28.19 kB / 0.5035 GB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.4422, allocations: 31.98 kB / 0.5035 GB, free: 13.83 MB / 394.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.0001109/0.4423, allocations: 128.7 kB / 0.5036 GB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.549e-05/0.4424, allocations: 71.09 kB / 0.5037 GB, free: 13.63 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004392/0.4429, allocations: 261.3 kB / 0.504 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.4429, allocations: 4 kB / 0.504 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.4429, allocations: 4 kB / 0.504 GB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.4429, allocations: 3.984 kB / 0.504 GB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.4441, allocations: 0.9071 MB / 0.5049 GB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.4441, allocations: 4 kB / 0.5049 GB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003049/0.4445, allocations: 63.89 kB / 0.5049 GB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.369e-05/0.4446, allocations: 20.86 kB / 0.5049 GB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.4446, allocations: 8 kB / 0.5049 GB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007363/0.4453, allocations: 1.221 MB / 0.5061 GB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.4453, allocations: 7.938 kB / 0.5061 GB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005717/0.4459, allocations: 0.5523 MB / 0.5067 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.4461, allocations: 168.2 kB / 0.5068 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.274e-05/0.4462, allocations: 7.938 kB / 0.5069 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002983/0.4465, allocations: 19.98 kB / 0.5069 GB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.56e-05/0.4466, allocations: 19.97 kB / 0.5069 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.4466, allocations: 12 kB / 0.5069 GB, free: 10.05 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004574/0.4471, allocations: 399.2 kB / 0.5073 GB, free: 9.668 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4471, allocations: 0 / 0.5073 GB, free: 9.668 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006646/0.4477, allocations: 147.9 kB / 0.5074 GB, free: 9.523 MB / 394.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.0003548/0.4481, allocations: 260.3 kB / 0.5077 GB, free: 9.262 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006303/0.4488, allocations: 379.9 kB / 0.508 GB, free: 8.883 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4488, allocations: 8 kB / 0.508 GB, free: 8.875 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000242/0.449, allocations: 201.7 kB / 0.5082 GB, free: 8.668 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007418/0.4498, allocations: 162.1 kB / 0.5084 GB, free: 8.512 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.4514, allocations: 1.005 MB / 0.5094 GB, free: 7.457 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/0.4519, allocations: 0.9565 MB / 0.5103 GB, free: 6.469 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003492/0.4523, allocations: 85.55 kB / 0.5104 GB, free: 6.383 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.225e-05/0.4524, allocations: 47.44 kB / 0.5104 GB, free: 6.336 MB / 394.7 MB Notification: Performance of SimCode: time 5.91e-07/0.4524, allocations: 0 / 0.5104 GB, free: 6.336 MB / 394.7 MB Notification: Performance of Templates: time 0.01286/0.4653, allocations: 7.015 MB / 0.5173 GB, free: 15.39 MB / 410.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