Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002142/0.002142, allocations: 177.3 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.179/3.179, allocations: 205.4 MB / 223.6 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.001327/0.001327, allocations: 92.88 kB / 271.9 MB, free: 8.266 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006068/0.0006072, allocations: 8 kB / 328.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5099/0.5105, allocations: 47.57 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.201/0.7116, allocations: 93.99 MB / 469.7 MB, free: 2.613 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005043/0.7122, allocations: 91.95 kB / 469.8 MB, free: 2.523 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1166/0.8289, allocations: 23.83 MB / 493.6 MB, free: 10.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.919e-06/0.829, allocations: 0 / 493.6 MB, free: 10.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001291/0.8291, allocations: 23.94 kB / 493.7 MB, free: 10.52 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.005015/0.8342, allocations: 1.114 MB / 494.8 MB, free: 9.352 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001053/0.8343, allocations: 8.031 kB / 494.8 MB, free: 9.344 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001663/0.836, allocations: 159.5 kB / 494.9 MB, free: 9.188 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003554/0.8396, allocations: 0.6921 MB / 495.6 MB, free: 8.449 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.8397, allocations: 62.38 kB / 495.7 MB, free: 8.391 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003663/0.8401, allocations: 80.38 kB / 495.8 MB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003433/0.8436, allocations: 0.8228 MB / 496.6 MB, free: 7.457 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.368e-05/0.8437, allocations: 11.84 kB / 496.6 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001688/0.8439, allocations: 36 kB / 496.6 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.163e-05/0.8439, allocations: 20 kB / 496.7 MB, free: 7.391 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002433/0.8464, allocations: 0.5659 MB / 497.2 MB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009778/0.8562, allocations: 3.651 MB / 0.4891 GB, free: 2.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.8573, allocations: 242.8 kB / 0.4894 GB, free: 2.684 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005218/0.8579, allocations: 124.7 kB / 0.4895 GB, free: 2.559 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.201e-05/0.858, allocations: 4 kB / 0.4895 GB, free: 2.555 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.338e-05/0.858, allocations: 46.5 kB / 0.4895 GB, free: 2.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 4.338e-06/0.8581, allocations: 0 / 0.4895 GB, free: 2.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.004398/0.8625, allocations: 1.107 MB / 0.4906 GB, free: 1.316 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.981e-05/0.8626, allocations: 81.11 kB / 0.4907 GB, free: 1.219 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002185/0.8648, allocations: 0.7784 MB / 0.4915 GB, free: 440 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.919e-05/0.8648, allocations: 29.7 kB / 0.4915 GB, free: 404 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3649/1.23, allocations: 0.4942 MB / 0.492 GB, free: 99.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002868/1.23, allocations: 110.8 kB / 0.4921 GB, free: 99.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.607e-05/1.23, allocations: 14.62 kB / 0.4921 GB, free: 99.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/1.23, allocations: 331.7 kB / 0.4924 GB, free: 98.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006557/1.231, allocations: 136.4 kB / 0.4925 GB, free: 98.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008556/1.232, allocations: 426.8 kB / 0.4929 GB, free: 98.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/1.233, allocations: 0.599 MB / 0.4935 GB, free: 98.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.474e-05/1.233, allocations: 7.062 kB / 0.4935 GB, free: 98.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002383/1.236, allocations: 0.6378 MB / 0.4942 GB, free: 98.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.813e-05/1.236, allocations: 9.625 kB / 0.4942 GB, free: 98.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.907e-05/1.236, allocations: 9.625 kB / 0.4942 GB, free: 98.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002425/1.236, allocations: 33.66 kB / 0.4942 GB, free: 98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007231/1.237, allocations: 150.3 kB / 0.4943 GB, free: 98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/1.238, allocations: 1.289 MB / 0.4956 GB, free: 96.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/1.239, allocations: 44.56 kB / 0.4956 GB, free: 96.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.575e-05/1.239, allocations: 30.78 kB / 0.4957 GB, free: 96.76 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.0006876/1.24, allocations: 243.8 kB / 0.4959 GB, free: 96.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002258/1.24, allocations: 83.44 kB / 0.496 GB, free: 96.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/1.242, allocations: 347.6 kB / 0.4963 GB, free: 96.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/1.242, allocations: 5.031 kB / 0.4963 GB, free: 96.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/1.242, allocations: 0.5 kB / 0.4963 GB, free: 96.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/1.242, allocations: 8.641 kB / 0.4963 GB, free: 96.54 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00308/1.245, allocations: 1.119 MB / 0.4974 GB, free: 96.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/1.245, allocations: 7.516 kB / 0.4974 GB, free: 96.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000574/1.245, allocations: 67.42 kB / 0.4975 GB, free: 96.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001785/1.246, allocations: 23.02 kB / 0.4975 GB, free: 96.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.626e-05/1.246, allocations: 12.2 kB / 0.4975 GB, free: 96.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001215/1.247, allocations: 1.272 MB / 0.4988 GB, free: 94.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.054e-05/1.247, allocations: 7.25 kB / 0.4988 GB, free: 94.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00183/1.249, allocations: 0.6003 MB / 0.4994 GB, free: 94.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005367/1.249, allocations: 178.9 kB / 0.4995 GB, free: 94.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/1.249, allocations: 10.75 kB / 0.4995 GB, free: 94.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006419/1.25, allocations: 29.17 kB / 0.4996 GB, free: 94.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/1.25, allocations: 23.27 kB / 0.4996 GB, free: 94.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.773e-05/1.25, allocations: 14.28 kB / 0.4996 GB, free: 94.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001257/1.252, allocations: 0.5278 MB / 0.5001 GB, free: 94.42 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.252, allocations: 0 / 0.5001 GB, free: 94.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001641/1.253, allocations: 204.2 kB / 0.5003 GB, free: 94.42 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.0008384/1.254, allocations: 341.5 kB / 0.5006 GB, free: 94.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001824/1.256, allocations: 481.8 kB / 0.5011 GB, free: 94.17 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/1.256, allocations: 0.9688 kB / 0.5011 GB, free: 94.17 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006925/1.257, allocations: 255.6 kB / 0.5013 GB, free: 94.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002603/1.259, allocations: 212.6 kB / 0.5016 GB, free: 94.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004611/1.264, allocations: 1.823 MB / 0.5033 GB, free: 92.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006803/1.265, allocations: 0.9555 MB / 0.5043 GB, free: 92.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003164/1.265, allocations: 54.28 kB / 0.5043 GB, free: 92.27 MB / 378.7 MB Notification: Performance of SimCode: time 1.192e-06/1.265, allocations: 0 / 0.5043 GB, free: 92.27 MB / 378.7 MB Notification: Performance of Templates: time 0.0359/1.301, allocations: 15.25 MB / 0.5192 GB, free: 90.2 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches