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.00138/0.00138, allocations: 108.6 kB / 17.06 MB, free: 5.957 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.001607/0.001607, allocations: 200 kB / 18.01 MB, free: 5.035 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.431/1.431, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 51.91 kB / 351.3 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2644, allocations: 49.43 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.008803/0.2732, allocations: 7.96 MB / 408.7 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004426/0.2777, allocations: 2.633 MB / 411.3 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008797/0.2786, allocations: 23.94 kB / 411.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001487/0.2801, allocations: 0.5165 MB / 411.9 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001239/0.2814, allocations: 428.8 kB / 412.3 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005638/0.282, allocations: 223.6 kB / 412.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001463/0.2835, allocations: 1.232 MB / 413.7 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007622/0.2842, allocations: 0.5331 MB / 414.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006737/0.2849, allocations: 486.1 kB / 414.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007557/0.2857, allocations: 0.5211 MB / 415.3 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001906/0.2859, allocations: 112 kB / 415.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003627/0.2863, allocations: 156 kB / 415.5 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001953/0.2865, allocations: 239.2 kB / 415.8 MB, free: 9.781 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006511/0.2871, allocations: 0.5599 MB / 416.3 MB, free: 9.219 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.2885, allocations: 1.464 MB / 417.8 MB, free: 7.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2885, allocations: 0 / 417.8 MB, free: 7.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2886, allocations: 4 kB / 417.8 MB, free: 7.746 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.679e-05/0.2886, allocations: 4 kB / 417.8 MB, free: 7.742 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.002372/0.291, allocations: 1.293 MB / 419.1 MB, free: 6.398 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.291, allocations: 19.88 kB / 419.1 MB, free: 6.379 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005055/0.2915, allocations: 147.5 kB / 419.2 MB, free: 6.234 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.2926, allocations: 0.6493 MB / 419.9 MB, free: 5.543 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.074e-05/0.2927, allocations: 62.38 kB / 420 MB, free: 5.484 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.2928, allocations: 87.94 kB / 420 MB, free: 5.398 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.2942, allocations: 0.8262 MB / 420.9 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.21e-05/0.2942, allocations: 7.891 kB / 420.9 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.448e-05/0.2943, allocations: 36 kB / 420.9 MB, free: 4.496 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.2943, allocations: 24 kB / 420.9 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.2954, allocations: 0.5426 MB / 421.5 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004323/0.2997, allocations: 3.543 MB / 425 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00052/0.3003, allocations: 242.7 kB / 425.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002496/0.3005, allocations: 116.8 kB / 425.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.3006, allocations: 4 kB / 425.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.3006, allocations: 38.56 kB / 425.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.733e-06/0.3006, allocations: 0 / 425.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002128/0.3027, allocations: 1.079 MB / 426.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.3028, allocations: 85.05 kB / 426.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009323/0.3037, allocations: 0.7508 MB / 427.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.3038, allocations: 33.7 kB / 427.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003264/0.3041, allocations: 0.5173 MB / 427.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.039e-05/0.3042, allocations: 114.5 kB / 428 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.3043, allocations: 122.1 kB / 428.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3045, allocations: 382.8 kB / 428.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/0.3048, allocations: 129.2 kB / 428.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004755/0.3053, allocations: 458.2 kB / 429.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008102/0.3061, allocations: 0.6102 MB / 429.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.3061, allocations: 0 / 429.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00108/0.3072, allocations: 0.6456 MB / 430.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.3072, allocations: 8 kB / 430.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.3073, allocations: 15.94 kB / 430.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001423/0.3074, allocations: 33.56 kB / 430.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000468/0.3079, allocations: 155.7 kB / 430.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009783/0.3089, allocations: 1.379 MB / 431.9 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000461/0.3093, allocations: 39.89 kB / 431.9 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/0.3094, allocations: 35.94 kB / 432 MB, free: 8.59 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.0003004/0.3097, allocations: 249.5 kB / 432.2 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.611e-05/0.3098, allocations: 75.06 kB / 432.3 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006566/0.3105, allocations: 333.9 kB / 432.6 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.3105, allocations: 8.031 kB / 432.6 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.3105, allocations: 0 / 432.6 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3105, allocations: 7.875 kB / 432.6 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/0.3121, allocations: 1.115 MB / 433.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.3121, allocations: 8.219 kB / 433.7 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002791/0.3124, allocations: 63.89 kB / 433.8 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.628e-05/0.3125, allocations: 20.84 kB / 433.8 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.3126, allocations: 8 kB / 433.8 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008839/0.3134, allocations: 1.375 MB / 435.2 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.3135, allocations: 3.984 kB / 435.2 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008829/0.3143, allocations: 0.5731 MB / 435.8 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002282/0.3146, allocations: 180.1 kB / 436 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.506e-05/0.3147, allocations: 8 kB / 436 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003445/0.315, allocations: 19.98 kB / 436 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.13e-05/0.3151, allocations: 27.91 kB / 436 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.3152, allocations: 12 kB / 436 MB, free: 4.211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006987/0.3159, allocations: 0.5186 MB / 436.6 MB, free: 3.699 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.3159, allocations: 0 / 436.6 MB, free: 3.699 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006708/0.3166, allocations: 175.9 kB / 436.7 MB, free: 3.527 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.0002178/0.3168, allocations: 131 kB / 436.9 MB, free: 3.387 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009713/0.3178, allocations: 482.4 kB / 437.3 MB, free: 2.906 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.3178, allocations: 0 / 437.3 MB, free: 2.906 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003859/0.3182, allocations: 243.8 kB / 437.6 MB, free: 2.656 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009238/0.3191, allocations: 189.6 kB / 437.7 MB, free: 2.473 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002405/0.3215, allocations: 1.47 MB / 439.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007148/0.3223, allocations: 0.9526 MB / 440.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003525/0.3226, allocations: 90.17 kB / 440.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.3227, allocations: 51.44 kB / 440.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of SimCode: time 6.12e-07/0.3228, allocations: 0 / 440.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of Templates: time 0.01637/0.3391, allocations: 8.576 MB / 448.9 MB, free: 7.367 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