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.001893/0.001893, allocations: 181.2 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.012/2.012, allocations: 205.4 MB / 223.1 MB, free: 9.121 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.0008645/0.0008644, allocations: 91.92 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002947/0.0002947, allocations: 12 kB / 328.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2604, allocations: 47.57 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1129/0.3734, allocations: 93.85 MB / 469.7 MB, free: 2.789 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.3737, allocations: 87.95 kB / 469.8 MB, free: 2.703 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06508/0.4388, allocations: 23.94 MB / 493.7 MB, free: 10.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.4389, allocations: 0 / 493.7 MB, free: 10.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.903e-05/0.4389, allocations: 20 kB / 493.7 MB, free: 10.59 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.001946/0.4409, allocations: 1.134 MB / 494.8 MB, free: 9.406 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.4409, allocations: 8.031 kB / 494.9 MB, free: 9.398 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005044/0.4414, allocations: 150.6 kB / 495 MB, free: 9.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.4426, allocations: 0.6718 MB / 495.7 MB, free: 8.539 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.94e-05/0.4427, allocations: 65.98 kB / 495.7 MB, free: 8.473 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.4428, allocations: 87.91 kB / 495.8 MB, free: 8.387 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.4442, allocations: 0.8145 MB / 496.6 MB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.408e-05/0.4442, allocations: 7.938 kB / 496.6 MB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.546e-05/0.4443, allocations: 32 kB / 496.7 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.4443, allocations: 20 kB / 496.7 MB, free: 7.484 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.4453, allocations: 0.5544 MB / 497.2 MB, free: 6.926 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004351/0.4497, allocations: 3.659 MB / 0.4892 GB, free: 3.023 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005881/0.4503, allocations: 242.7 kB / 0.4894 GB, free: 2.777 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/0.4504, allocations: 4 kB / 0.4894 GB, free: 2.773 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.4504, allocations: 30.56 kB / 0.4894 GB, free: 2.734 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 3.366e-06/0.4504, allocations: 3.938 kB / 0.4894 GB, free: 2.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.002451/0.4529, allocations: 1.119 MB / 0.4905 GB, free: 1.535 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.039e-05/0.453, allocations: 81.11 kB / 0.4906 GB, free: 1.438 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009732/0.454, allocations: 0.6917 MB / 0.4913 GB, free: 0.7422 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.454, allocations: 29.7 kB / 0.4913 GB, free: 0.707 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004087/0.4544, allocations: 0.4984 MB / 0.4918 GB, free: 204 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.311e-05/0.4545, allocations: 114.5 kB / 0.4919 GB, free: 88 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-05/0.4545, allocations: 16 kB / 0.4919 GB, free: 72 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.2175/0.672, allocations: 329.9 kB / 0.4922 GB, free: 98.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005398/0.6726, allocations: 128 kB / 0.4924 GB, free: 98.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005421/0.6732, allocations: 428.2 kB / 0.4928 GB, free: 98.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005005/0.6737, allocations: 202.8 kB / 0.493 GB, free: 98.53 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.258e-06/0.6737, allocations: 2.938 kB / 0.493 GB, free: 98.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001517/0.6752, allocations: 0.6493 MB / 0.4936 GB, free: 98.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.759e-05/0.6753, allocations: 11.97 kB / 0.4936 GB, free: 98.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.283e-05/0.6753, allocations: 12.19 kB / 0.4936 GB, free: 98.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002015/0.6755, allocations: 36.94 kB / 0.4937 GB, free: 98.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005381/0.6761, allocations: 146.9 kB / 0.4938 GB, free: 98.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007908/0.6769, allocations: 1.29 MB / 0.4951 GB, free: 97.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006261/0.6775, allocations: 47.5 kB / 0.4951 GB, free: 97.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.387e-05/0.6776, allocations: 33.25 kB / 0.4951 GB, free: 97.24 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.0004457/0.678, allocations: 239.8 kB / 0.4954 GB, free: 97.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.6781, allocations: 82.16 kB / 0.4954 GB, free: 97.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007305/0.6789, allocations: 350.2 kB / 0.4958 GB, free: 97.06 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.6789, allocations: 3.281 kB / 0.4958 GB, free: 97.06 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.6789, allocations: 3.438 kB / 0.4958 GB, free: 97.06 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.6789, allocations: 4.328 kB / 0.4958 GB, free: 97.06 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/0.6805, allocations: 1.115 MB / 0.4969 GB, free: 96.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.6805, allocations: 2.188 kB / 0.4969 GB, free: 96.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002927/0.6808, allocations: 70.66 kB / 0.4969 GB, free: 96.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.916e-05/0.6809, allocations: 24.09 kB / 0.497 GB, free: 96.69 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.6809, allocations: 8.281 kB / 0.497 GB, free: 96.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007265/0.6816, allocations: 1.283 MB / 0.4982 GB, free: 95.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.6817, allocations: 1.594 kB / 0.4982 GB, free: 95.45 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.6827, allocations: 0.6852 MB / 0.4989 GB, free: 95.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002646/0.6829, allocations: 183.9 kB / 0.4991 GB, free: 94.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.207e-05/0.683, allocations: 7.156 kB / 0.4991 GB, free: 94.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003578/0.6834, allocations: 27.11 kB / 0.4991 GB, free: 94.99 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.777e-05/0.6835, allocations: 28.09 kB / 0.4991 GB, free: 94.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.552e-05/0.6835, allocations: 10.81 kB / 0.4991 GB, free: 94.99 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007327/0.6842, allocations: 0.5317 MB / 0.4997 GB, free: 94.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6843, allocations: 0 / 0.4997 GB, free: 94.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009678/0.6852, allocations: 202.1 kB / 0.4999 GB, free: 94.89 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.0004755/0.6857, allocations: 322.6 kB / 0.5002 GB, free: 94.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009566/0.6867, allocations: 490.5 kB / 0.5006 GB, free: 94.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.6867, allocations: 0 / 0.5006 GB, free: 94.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000337/0.687, allocations: 248.2 kB / 0.5009 GB, free: 94.56 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009029/0.688, allocations: 220.5 kB / 0.5011 GB, free: 94.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/0.6903, allocations: 1.783 MB / 0.5028 GB, free: 93.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.6907, allocations: 0.9719 MB / 0.5038 GB, free: 92.83 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004061/0.6911, allocations: 99.8 kB / 0.5039 GB, free: 92.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.6912, allocations: 55.17 kB / 0.5039 GB, free: 92.8 MB / 378.7 MB Notification: Performance of SimCode: time 6.61e-07/0.6912, allocations: 0 / 0.5039 GB, free: 92.8 MB / 378.7 MB Notification: Performance of Templates: time 0.01906/0.7103, allocations: 11.26 MB / 0.5149 GB, free: 91.92 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/jenkins/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