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.001155/0.001155, allocations: 116.3 kB / 17.07 MB, free: 5.973 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.001198/0.001198, allocations: 198.8 kB / 18.01 MB, free: 5.055 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.307/1.307, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 51.92 kB / 351.3 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2697, allocations: 49.43 MB / 400.7 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.008813/0.2786, allocations: 7.968 MB / 408.7 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004362/0.283, allocations: 2.621 MB / 411.3 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006922/0.2837, allocations: 20 kB / 411.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.2851, allocations: 0.5203 MB / 411.9 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008837/0.286, allocations: 432.8 kB / 412.3 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.2864, allocations: 223.6 kB / 412.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001091/0.2875, allocations: 1.226 MB / 413.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007107/0.2882, allocations: 0.5331 MB / 414.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005563/0.2888, allocations: 486.1 kB / 414.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006924/0.2895, allocations: 0.5172 MB / 415.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.2896, allocations: 116 kB / 415.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002632/0.2899, allocations: 156 kB / 415.5 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001658/0.2901, allocations: 239.1 kB / 415.7 MB, free: 9.785 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004497/0.2905, allocations: 0.5638 MB / 416.3 MB, free: 9.219 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00127/0.2918, allocations: 1.46 MB / 417.8 MB, free: 7.754 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2918, allocations: 7.938 kB / 417.8 MB, free: 7.746 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2918, allocations: 0 / 417.8 MB, free: 7.746 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.2918, allocations: 0 / 417.8 MB, free: 7.746 MB / 334.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.002025/0.2939, allocations: 1.301 MB / 419.1 MB, free: 6.395 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.2939, allocations: 11.89 kB / 419.1 MB, free: 6.383 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004591/0.2944, allocations: 147.6 kB / 419.2 MB, free: 6.238 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009807/0.2954, allocations: 0.6415 MB / 419.9 MB, free: 5.555 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.582e-05/0.2954, allocations: 66.38 kB / 419.9 MB, free: 5.492 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.2955, allocations: 91.88 kB / 420 MB, free: 5.402 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/0.2968, allocations: 0.8223 MB / 420.9 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.274e-05/0.2969, allocations: 7.844 kB / 420.9 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.463e-05/0.2969, allocations: 36 kB / 420.9 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.297, allocations: 20 kB / 420.9 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.298, allocations: 0.5426 MB / 421.5 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004409/0.3025, allocations: 3.554 MB / 425 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005073/0.303, allocations: 241.8 kB / 425.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/0.3032, allocations: 124.8 kB / 425.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.522e-05/0.3033, allocations: 12.05 kB / 425.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.3033, allocations: 30.56 kB / 425.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.874e-06/0.3033, allocations: 0 / 425.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002013/0.3053, allocations: 1.079 MB / 426.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/0.3054, allocations: 85.05 kB / 426.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009837/0.3064, allocations: 0.7547 MB / 427.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.3064, allocations: 29.7 kB / 427.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003505/0.3068, allocations: 0.5252 MB / 427.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.734e-05/0.3069, allocations: 106.5 kB / 428 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.307, allocations: 118.2 kB / 428.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3072, allocations: 382.8 kB / 428.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/0.3075, allocations: 129.2 kB / 428.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004438/0.3079, allocations: 450.2 kB / 429 MB, free: 11.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007473/0.3087, allocations: 0.614 MB / 429.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.3087, allocations: 4 kB / 429.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001024/0.3097, allocations: 0.6415 MB / 430.3 MB, free: 10.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.3098, allocations: 12 kB / 430.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.3098, allocations: 16.84 kB / 430.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001691/0.31, allocations: 36.84 kB / 430.4 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004396/0.3104, allocations: 151.7 kB / 430.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/0.3115, allocations: 1.382 MB / 431.9 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004949/0.312, allocations: 39.89 kB / 431.9 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.431e-05/0.3121, allocations: 36 kB / 432 MB, free: 8.586 MB / 350.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 (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.0003633/0.3125, allocations: 245.6 kB / 432.2 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.3126, allocations: 75.06 kB / 432.3 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006815/0.3133, allocations: 333.9 kB / 432.6 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.3133, allocations: 0 / 432.6 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.3133, allocations: 0 / 432.6 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.3133, allocations: 7.938 kB / 432.6 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/0.3149, allocations: 1.125 MB / 433.7 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.3149, allocations: 3.984 kB / 433.7 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/0.3152, allocations: 59.97 kB / 433.8 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.583e-05/0.3153, allocations: 28.78 kB / 433.8 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.3153, allocations: 8 kB / 433.8 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008726/0.3162, allocations: 1.371 MB / 435.2 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3162, allocations: 0 / 435.2 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008474/0.317, allocations: 0.5751 MB / 435.8 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/0.3172, allocations: 180.1 kB / 436 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.256e-05/0.3173, allocations: 8 kB / 436 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003241/0.3176, allocations: 23.92 kB / 436 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.129e-05/0.3177, allocations: 31.97 kB / 436 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.3178, allocations: 15.98 kB / 436 MB, free: 4.203 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006184/0.3184, allocations: 0.5147 MB / 436.6 MB, free: 3.695 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3184, allocations: 0 / 436.6 MB, free: 3.695 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006496/0.319, allocations: 167.9 kB / 436.7 MB, free: 3.531 MB / 350.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 (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.0001998/0.3192, allocations: 139 kB / 436.9 MB, free: 3.383 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008687/0.3201, allocations: 484.2 kB / 437.3 MB, free: 2.898 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3201, allocations: 0 / 437.3 MB, free: 2.898 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00035/0.3205, allocations: 239.9 kB / 437.6 MB, free: 2.652 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008497/0.3214, allocations: 191.2 kB / 437.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.3236, allocations: 1.458 MB / 439.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005216/0.3241, allocations: 0.9526 MB / 440.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000268/0.3244, allocations: 90.17 kB / 440.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.3245, allocations: 55.42 kB / 440.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of SimCode: time 1.573e-06/0.3245, allocations: 0 / 440.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of Templates: time 0.01641/0.3409, allocations: 8.577 MB / 448.9 MB, free: 7.363 MB / 366.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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