Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001014, allocations: 94.72 kB / 16.3 MB, free: 6.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 184.5 kB / 17.2 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 223.2 MB / 241.1 MB, free: 272 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000227/0.0002271, allocations: 15.94 kB / 300.7 MB, free: 6.441 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08905/0.08929, allocations: 50.41 MB / 351.1 MB, free: 4.016 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.006371/0.0957, allocations: 6.355 MB / 357.5 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003679/0.09941, allocations: 2.507 MB / 360 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003366/0.09977, allocations: 19.94 kB / 360 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009579/0.1007, allocations: 441.9 kB / 360.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007677/0.1015, allocations: 466.7 kB / 360.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.1018, allocations: 155.7 kB / 361.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00104/0.1029, allocations: 0.8852 MB / 362 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005039/0.1034, allocations: 392 kB / 362.3 MB, free: 8.766 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003453/0.1037, allocations: 362.5 kB / 362.7 MB, free: 8.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004158/0.1041, allocations: 414.1 kB / 363.1 MB, free: 8.004 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.408e-05/0.1042, allocations: 48 kB / 363.1 MB, free: 7.957 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002009/0.1044, allocations: 91.91 kB / 363.2 MB, free: 7.867 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.1046, allocations: 155.3 kB / 363.4 MB, free: 7.715 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001805/0.1048, allocations: 229.2 kB / 363.6 MB, free: 7.484 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008807/0.1056, allocations: 1.083 MB / 364.7 MB, free: 6.398 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.1057, allocations: 3.938 kB / 364.7 MB, free: 6.395 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1057, allocations: 0 / 364.7 MB, free: 6.395 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.1057, allocations: 0 / 364.7 MB, free: 6.395 MB / 302.1 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.001704/0.1074, allocations: 1.157 MB / 365.8 MB, free: 5.188 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.1074, allocations: 8.031 kB / 365.9 MB, free: 5.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003885/0.1078, allocations: 130.7 kB / 366 MB, free: 5.051 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.1089, allocations: 0.6056 MB / 366.6 MB, free: 4.398 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.784e-05/0.109, allocations: 66 kB / 366.7 MB, free: 4.336 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.1091, allocations: 91.84 kB / 366.7 MB, free: 4.246 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.1104, allocations: 0.8145 MB / 367.6 MB, free: 3.398 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.1104, allocations: 0 / 367.6 MB, free: 3.398 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.858e-05/0.1105, allocations: 47.92 kB / 367.6 MB, free: 3.352 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.1105, allocations: 23.95 kB / 367.6 MB, free: 3.328 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009956/0.1115, allocations: 0.5504 MB / 368.2 MB, free: 2.781 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1809/0.2924, allocations: 3.524 MB / 371.7 MB, free: 23.26 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005941/0.293, allocations: 244.2 kB / 371.9 MB, free: 23.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.378e-05/0.2931, allocations: 3.062 kB / 371.9 MB, free: 23.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.2931, allocations: 38.47 kB / 372 MB, free: 23.2 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 3.076e-06/0.2931, allocations: 3.344 kB / 372 MB, free: 23.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.00213/0.2952, allocations: 1.105 MB / 373.1 MB, free: 22.71 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.2953, allocations: 84.31 kB / 373.2 MB, free: 22.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008747/0.2962, allocations: 0.6969 MB / 373.9 MB, free: 22.48 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.2962, allocations: 31.23 kB / 373.9 MB, free: 22.45 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003327/0.2965, allocations: 0.5166 MB / 374.4 MB, free: 22.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.544e-05/0.2966, allocations: 105 kB / 374.5 MB, free: 22.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.845e-05/0.2966, allocations: 15.12 kB / 374.5 MB, free: 22.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.2968, allocations: 382.4 kB / 374.9 MB, free: 21.81 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003121/0.2971, allocations: 136.6 kB / 375 MB, free: 21.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/0.2975, allocations: 445.2 kB / 375.5 MB, free: 21.42 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003457/0.2979, allocations: 216.8 kB / 375.7 MB, free: 21.41 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.2979, allocations: 3.406 kB / 375.7 MB, free: 21.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001018/0.2989, allocations: 0.6601 MB / 376.4 MB, free: 21.21 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.2989, allocations: 10.97 kB / 376.4 MB, free: 21.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.2989, allocations: 11.62 kB / 376.4 MB, free: 21.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001457/0.2991, allocations: 30.86 kB / 376.4 MB, free: 21.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004616/0.2996, allocations: 161.3 kB / 376.6 MB, free: 21.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007149/0.3003, allocations: 1.289 MB / 377.9 MB, free: 19.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004569/0.3008, allocations: 50.59 kB / 377.9 MB, free: 19.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.886e-05/0.3008, allocations: 32.06 kB / 377.9 MB, free: 19.85 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (78): * Single equations (assignments): 77 * 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.000296/0.3011, allocations: 246.3 kB / 378.2 MB, free: 19.64 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.864e-05/0.3012, allocations: 75.42 kB / 378.2 MB, free: 19.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006849/0.3019, allocations: 347.7 kB / 378.6 MB, free: 19.44 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.3019, allocations: 5.016 kB / 378.6 MB, free: 19.44 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.3019, allocations: 0 / 378.6 MB, free: 19.44 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.302, allocations: 2.344 kB / 378.6 MB, free: 19.44 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.3036, allocations: 1.101 MB / 379.7 MB, free: 18.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.3037, allocations: 6.594 kB / 379.7 MB, free: 18.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002978/0.304, allocations: 67.59 kB / 379.8 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.9e-05/0.3041, allocations: 19.56 kB / 379.8 MB, free: 18.76 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/0.3041, allocations: 8.688 kB / 379.8 MB, free: 18.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006972/0.3048, allocations: 1.284 MB / 381.1 MB, free: 17.45 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.3048, allocations: 3.766 kB / 381.1 MB, free: 17.45 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009044/0.3057, allocations: 0.6755 MB / 381.8 MB, free: 16.96 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/0.3059, allocations: 165.5 kB / 381.9 MB, free: 16.81 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.707e-05/0.306, allocations: 8.219 kB / 381.9 MB, free: 16.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002976/0.3063, allocations: 27.58 kB / 382 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.742e-05/0.3064, allocations: 31.94 kB / 382 MB, free: 16.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.3064, allocations: 12.08 kB / 382 MB, free: 16.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005967/0.307, allocations: 478.3 kB / 382.5 MB, free: 16.58 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.307, allocations: 0 / 382.5 MB, free: 16.58 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006843/0.3077, allocations: 167.9 kB / 382.6 MB, free: 16.56 MB / 302.1 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 (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.00022/0.3079, allocations: 127.1 kB / 382.8 MB, free: 16.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.309, allocations: 496.8 kB / 383.2 MB, free: 16.22 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.309, allocations: 0 / 383.2 MB, free: 16.22 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003439/0.3094, allocations: 243.4 kB / 383.5 MB, free: 16.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008429/0.3103, allocations: 170.5 kB / 383.6 MB, free: 16.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/0.3125, allocations: 1.798 MB / 385.4 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005558/0.313, allocations: 0.9764 MB / 386.4 MB, free: 14.14 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003709/0.3134, allocations: 89.72 kB / 386.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.3135, allocations: 53.36 kB / 386.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3135, allocations: 0 / 386.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of Templates: time 0.01592/0.3295, allocations: 7.11 MB / 393.7 MB, free: 11.72 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches