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.001207/0.001207, allocations: 187 kB / 17.92 MB, free: 3.855 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.22/1.22, allocations: 205.1 MB / 223.7 MB, free: 8.473 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.0009239/0.0009239, allocations: 100.7 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000753/0.000753, allocations: 43.94 kB / 327.2 MB, free: 312 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1823, allocations: 46.61 MB / 373.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.007508/0.1899, allocations: 7.077 MB / 380.9 MB, free: 40.26 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003063/0.193, allocations: 2.36 MB / 383.3 MB, free: 38.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003664/0.1934, allocations: 20.03 kB / 383.3 MB, free: 38.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009946/0.1944, allocations: 454.1 kB / 383.7 MB, free: 37.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005297/0.195, allocations: 327 kB / 384 MB, free: 37.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.1952, allocations: 178.8 kB / 384.2 MB, free: 37.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007976/0.196, allocations: 1.15 MB / 385.4 MB, free: 36.87 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005011/0.1965, allocations: 453.5 kB / 385.8 MB, free: 36.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003679/0.1969, allocations: 419.9 kB / 386.2 MB, free: 36.35 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003551/0.1973, allocations: 470.7 kB / 386.7 MB, free: 36.03 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.1974, allocations: 70.41 kB / 386.8 MB, free: 36.03 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002399/0.1976, allocations: 106.9 kB / 386.9 MB, free: 36.01 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.1978, allocations: 187.7 kB / 387 MB, free: 35.85 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003475/0.1981, allocations: 0.4972 MB / 387.5 MB, free: 35.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007946/0.1989, allocations: 1.392 MB / 388.9 MB, free: 34.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1989, allocations: 0 / 388.9 MB, free: 34.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1989, allocations: 0 / 388.9 MB, free: 34.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.199, allocations: 0 / 388.9 MB, free: 34.34 MB / 298.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.001455/0.2004, allocations: 1.243 MB / 390.2 MB, free: 33.05 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.2005, allocations: 8.031 kB / 390.2 MB, free: 33.04 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003733/0.2008, allocations: 143.7 kB / 390.3 MB, free: 32.9 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000653/0.2015, allocations: 0.6416 MB / 391 MB, free: 32.21 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.2015, allocations: 58.31 kB / 391 MB, free: 32.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.692e-05/0.2016, allocations: 76.38 kB / 391.1 MB, free: 32.08 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009096/0.2025, allocations: 0.7832 MB / 391.9 MB, free: 31.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.2026, allocations: 11.89 kB / 391.9 MB, free: 31.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.813e-05/0.2026, allocations: 36 kB / 391.9 MB, free: 31.22 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.2026, allocations: 20 kB / 391.9 MB, free: 31.2 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007711/0.2034, allocations: 0.5191 MB / 392.5 MB, free: 30.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002846/0.2063, allocations: 3.399 MB / 395.9 MB, free: 27.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000398/0.2067, allocations: 218.5 kB / 396.1 MB, free: 26.85 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.2069, allocations: 122.2 kB / 396.2 MB, free: 26.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.2069, allocations: 7.984 kB / 396.2 MB, free: 26.72 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.461e-05/0.2069, allocations: 38.5 kB / 396.2 MB, free: 26.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 1.573e-06/0.207, allocations: 0 / 396.2 MB, free: 26.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.001528/0.2085, allocations: 1.048 MB / 397.3 MB, free: 25.55 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.2085, allocations: 81.11 kB / 397.4 MB, free: 25.46 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006413/0.2092, allocations: 0.7387 MB / 398.1 MB, free: 24.71 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.2092, allocations: 29.7 kB / 398.1 MB, free: 24.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.2094, allocations: 0.4981 MB / 398.6 MB, free: 24.17 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.449e-05/0.2094, allocations: 114.5 kB / 398.7 MB, free: 24.05 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.2095, allocations: 110.2 kB / 398.9 MB, free: 23.94 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.337e-05/0.2096, allocations: 378.8 kB / 399.2 MB, free: 23.56 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/0.2098, allocations: 125.2 kB / 399.3 MB, free: 23.44 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002937/0.2101, allocations: 418.2 kB / 399.8 MB, free: 22.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005219/0.2107, allocations: 0.5637 MB / 400.3 MB, free: 22.2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.2107, allocations: 0 / 400.3 MB, free: 22.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007859/0.2115, allocations: 0.6152 MB / 400.9 MB, free: 21.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.2115, allocations: 8 kB / 400.9 MB, free: 21.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.2115, allocations: 15.97 kB / 401 MB, free: 21.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000137/0.2117, allocations: 36.84 kB / 401 MB, free: 21.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/0.212, allocations: 139.8 kB / 401.1 MB, free: 21.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006686/0.2127, allocations: 1.295 MB / 402.4 MB, free: 19.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000392/0.2131, allocations: 31.98 kB / 402.5 MB, free: 19.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.761e-05/0.2132, allocations: 32 kB / 402.5 MB, free: 19.88 MB / 298.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 (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002092/0.2134, allocations: 241.6 kB / 402.7 MB, free: 19.64 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.221e-05/0.2135, allocations: 75.06 kB / 402.8 MB, free: 19.56 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005022/0.214, allocations: 317.4 kB / 403.1 MB, free: 19.24 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.214, allocations: 4 kB / 403.1 MB, free: 19.24 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.214, allocations: 3.938 kB / 403.1 MB, free: 19.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.214, allocations: 3.984 kB / 403.1 MB, free: 19.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.2152, allocations: 1.09 MB / 404.2 MB, free: 18.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.2152, allocations: 4 kB / 404.2 MB, free: 18.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00023/0.2154, allocations: 59.91 kB / 404.3 MB, free: 18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.918e-05/0.2155, allocations: 24.84 kB / 404.3 MB, free: 17.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.2155, allocations: 8 kB / 404.3 MB, free: 17.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005224/0.2161, allocations: 1.272 MB / 405.6 MB, free: 16.55 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.2161, allocations: 11.91 kB / 405.6 MB, free: 16.54 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003087/0.2192, allocations: 3.849 MB / 409.4 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.2193, allocations: 176.2 kB / 409.6 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.476e-05/0.2194, allocations: 11.98 kB / 409.6 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002981/0.2197, allocations: 16.11 kB / 409.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.605e-05/0.2198, allocations: 27.97 kB / 409.7 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.2198, allocations: 8 kB / 409.7 MB, free: 12.13 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004709/0.2203, allocations: 0.503 MB / 410.2 MB, free: 11.63 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2203, allocations: 0 / 410.2 MB, free: 11.63 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007702/0.2211, allocations: 227.9 kB / 410.4 MB, free: 11.41 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001838/0.2212, allocations: 119.1 kB / 410.5 MB, free: 11.28 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00074/0.222, allocations: 463.6 kB / 411 MB, free: 10.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.222, allocations: 0 / 411 MB, free: 10.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002792/0.2223, allocations: 240.6 kB / 411.2 MB, free: 10.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008576/0.2232, allocations: 167 kB / 411.4 MB, free: 10.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/0.2251, allocations: 2.081 MB / 413.4 MB, free: 8.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.2254, allocations: 0.9451 MB / 414.4 MB, free: 7.277 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002944/0.2257, allocations: 90.02 kB / 414.5 MB, free: 7.188 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.848e-05/0.2258, allocations: 51.44 kB / 414.5 MB, free: 7.137 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2258, allocations: 3.938 kB / 414.5 MB, free: 7.133 MB / 298.7 MB Notification: Performance of Templates: time 0.01184/0.2377, allocations: 8.298 MB / 422.8 MB, free: 14.87 MB / 314.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@2/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