Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 183.8 kB / 18.04 MB, free: 3.777 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.245/1.245, allocations: 205.4 MB / 224.2 MB, free: 9.027 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.0007585/0.0007587, allocations: 88.98 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003042/0.0003042, allocations: 11.98 kB / 329.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.1989, allocations: 47.58 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09802/0.297, allocations: 93.99 MB / 471 MB, free: 2.523 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.2972, allocations: 87.95 kB / 471.1 MB, free: 2.438 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06321/0.3605, allocations: 23.83 MB / 494.9 MB, free: 10.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.107e-06/0.3605, allocations: 7.938 kB / 494.9 MB, free: 10.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.532e-05/0.3606, allocations: 19.94 kB / 495 MB, free: 10.43 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001879/0.3624, allocations: 1.122 MB / 496.1 MB, free: 9.254 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.3625, allocations: 12.03 kB / 496.1 MB, free: 9.242 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004822/0.363, allocations: 151.5 kB / 496.2 MB, free: 9.094 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.3641, allocations: 0.6921 MB / 496.9 MB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.504e-05/0.3642, allocations: 62.38 kB / 497 MB, free: 8.297 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.3643, allocations: 84.38 kB / 497.1 MB, free: 8.215 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/0.3657, allocations: 0.8228 MB / 497.9 MB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.875e-05/0.3657, allocations: 11.84 kB / 497.9 MB, free: 7.348 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.661e-05/0.3658, allocations: 36 kB / 498 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/0.3658, allocations: 20 kB / 498 MB, free: 7.293 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.3669, allocations: 0.5582 MB / 498.5 MB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004365/0.3713, allocations: 3.655 MB / 0.4904 GB, free: 2.836 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004829/0.3718, allocations: 238.7 kB / 0.4906 GB, free: 2.594 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002367/0.372, allocations: 128.8 kB / 0.4908 GB, free: 2.465 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.3721, allocations: 7.984 kB / 0.4908 GB, free: 2.457 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.3721, allocations: 42.5 kB / 0.4908 GB, free: 2.406 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 1.874e-06/0.3721, allocations: 0 / 0.4908 GB, free: 2.406 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.002076/0.3742, allocations: 1.103 MB / 0.4919 GB, free: 1.227 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.3743, allocations: 77.11 kB / 0.492 GB, free: 1.133 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009304/0.3752, allocations: 0.7822 MB / 0.4927 GB, free: 348 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.3752, allocations: 37.64 kB / 0.4928 GB, free: 304 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1446/0.5198, allocations: 0.4943 MB / 0.4932 GB, free: 99.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.52, allocations: 106.6 kB / 0.4933 GB, free: 99.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.52, allocations: 13.81 kB / 0.4934 GB, free: 99.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.803e-05/0.5201, allocations: 332.6 kB / 0.4937 GB, free: 99.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004001/0.5205, allocations: 135.7 kB / 0.4938 GB, free: 99.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000475/0.521, allocations: 429.8 kB / 0.4942 GB, free: 98.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008617/0.5219, allocations: 0.5993 MB / 0.4948 GB, free: 98.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.218e-05/0.5219, allocations: 2.688 kB / 0.4948 GB, free: 98.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001335/0.5232, allocations: 0.6384 MB / 0.4954 GB, free: 98.26 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.5233, allocations: 9.062 kB / 0.4954 GB, free: 98.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.5233, allocations: 14.69 kB / 0.4954 GB, free: 98.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001614/0.5235, allocations: 32.17 kB / 0.4955 GB, free: 98.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004661/0.524, allocations: 148.1 kB / 0.4956 GB, free: 98.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007521/0.5247, allocations: 1.291 MB / 0.4969 GB, free: 97.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005986/0.5253, allocations: 47.88 kB / 0.4969 GB, free: 97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.444e-05/0.5254, allocations: 29.5 kB / 0.497 GB, free: 97 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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.0003532/0.5258, allocations: 242.2 kB / 0.4972 GB, free: 96.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.5259, allocations: 82.42 kB / 0.4973 GB, free: 96.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006785/0.5266, allocations: 355 kB / 0.4976 GB, free: 96.78 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.5266, allocations: 3.125 kB / 0.4976 GB, free: 96.78 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.5266, allocations: 0 / 0.4976 GB, free: 96.78 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.5266, allocations: 1.438 kB / 0.4976 GB, free: 96.78 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.5282, allocations: 1.119 MB / 0.4987 GB, free: 96.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.5282, allocations: 4.578 kB / 0.4987 GB, free: 96.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002768/0.5285, allocations: 66.14 kB / 0.4988 GB, free: 96.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.069e-05/0.5286, allocations: 24.08 kB / 0.4988 GB, free: 96.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/0.5286, allocations: 14.98 kB / 0.4988 GB, free: 96.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005817/0.5292, allocations: 1.274 MB / 0.5001 GB, free: 95.15 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.5292, allocations: 4.594 kB / 0.5001 GB, free: 95.15 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008357/0.5301, allocations: 0.6046 MB / 0.5006 GB, free: 94.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002153/0.5303, allocations: 176.5 kB / 0.5008 GB, free: 94.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.5304, allocations: 10.89 kB / 0.5008 GB, free: 94.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003431/0.5308, allocations: 29.39 kB / 0.5009 GB, free: 94.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.894e-05/0.5309, allocations: 29.83 kB / 0.5009 GB, free: 94.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.5309, allocations: 7.906 kB / 0.5009 GB, free: 94.76 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006794/0.5316, allocations: 0.5281 MB / 0.5014 GB, free: 94.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5316, allocations: 0 / 0.5014 GB, free: 94.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008044/0.5324, allocations: 202.6 kB / 0.5016 GB, free: 94.66 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * 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.0004749/0.5329, allocations: 332.9 kB / 0.5019 GB, free: 94.56 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009008/0.5338, allocations: 479.7 kB / 0.5024 GB, free: 94.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.5338, allocations: 0 / 0.5024 GB, free: 94.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003406/0.5342, allocations: 260.1 kB / 0.5026 GB, free: 94.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.5354, allocations: 212.7 kB / 0.5028 GB, free: 94.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/0.5376, allocations: 1.793 MB / 0.5046 GB, free: 93.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.538, allocations: 0.9527 MB / 0.5055 GB, free: 92.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003971/0.5384, allocations: 104 kB / 0.5056 GB, free: 92.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.5385, allocations: 51.88 kB / 0.5057 GB, free: 92.52 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.5386, allocations: 0 / 0.5057 GB, free: 92.52 MB / 378.7 MB Notification: Performance of Templates: time 0.01698/0.5555, allocations: 11.47 MB / 0.5169 GB, free: 91.64 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_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_Temperature/DCPM_Temperature.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches