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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 114.3 kB / 17.07 MB, free: 6.008 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.001514/0.001515, allocations: 193.4 kB / 18 MB, free: 5.086 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.4/1.4, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 51.92 kB / 350.8 MB, free: 3.773 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2723, allocations: 49.44 MB / 400.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01132/0.2837, allocations: 7.96 MB / 408.2 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005541/0.2893, allocations: 2.62 MB / 410.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009927/0.2903, allocations: 27.88 kB / 410.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001657/0.2921, allocations: 0.4969 MB / 411.4 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001362/0.2934, allocations: 404.8 kB / 411.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005503/0.294, allocations: 207.7 kB / 412 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001735/0.2957, allocations: 1.233 MB / 413.2 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008575/0.2966, allocations: 0.537 MB / 413.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007989/0.2974, allocations: 482.1 kB / 414.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007696/0.2982, allocations: 0.5172 MB / 414.7 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001727/0.2984, allocations: 116 kB / 414.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003514/0.2988, allocations: 152 kB / 415 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002295/0.299, allocations: 235.2 kB / 415.2 MB, free: 9.785 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006479/0.2997, allocations: 0.5677 MB / 415.8 MB, free: 9.215 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002102/0.3018, allocations: 1.463 MB / 417.2 MB, free: 7.746 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3018, allocations: 0 / 417.2 MB, free: 7.746 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3018, allocations: 0 / 417.2 MB, free: 7.746 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.444e-05/0.3018, allocations: 0 / 417.2 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.002857/0.3047, allocations: 1.339 MB / 418.6 MB, free: 6.355 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/0.3048, allocations: 8.031 kB / 418.6 MB, free: 6.348 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000197/0.305, allocations: 131.5 kB / 418.7 MB, free: 6.211 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006085/0.3056, allocations: 160.1 kB / 418.9 MB, free: 6.055 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.3069, allocations: 0.6382 MB / 419.5 MB, free: 5.375 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.984e-05/0.307, allocations: 66.12 kB / 419.6 MB, free: 5.312 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.3071, allocations: 91.94 kB / 419.7 MB, free: 5.223 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.3086, allocations: 0.8223 MB / 420.5 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.041e-05/0.3086, allocations: 4 kB / 420.5 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.951e-05/0.3087, allocations: 32 kB / 420.5 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.106e-05/0.3087, allocations: 24 kB / 420.5 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.3099, allocations: 0.5426 MB / 421.1 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004934/0.3148, allocations: 3.567 MB / 424.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006031/0.3155, allocations: 238.7 kB / 424.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002926/0.3158, allocations: 112.8 kB / 425 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.3158, allocations: 7.938 kB / 425 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.3158, allocations: 38.55 kB / 425 MB, free: 15.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 3.136e-06/0.3159, allocations: 0 / 425 MB, free: 15.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.00248/0.3183, allocations: 1.085 MB / 426.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.091e-05/0.3184, allocations: 88.98 kB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.3196, allocations: 0.7664 MB / 427 MB, free: 13.51 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.3196, allocations: 29.7 kB / 427 MB, free: 13.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004503/0.3201, allocations: 0.5228 MB / 427.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.3202, allocations: 119 kB / 427.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.3204, allocations: 122.2 kB / 427.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002411/0.3206, allocations: 382.8 kB / 428.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/0.321, allocations: 133.2 kB / 428.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005925/0.3216, allocations: 450.2 kB / 428.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009532/0.3225, allocations: 0.6141 MB / 429.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.3225, allocations: 4 kB / 429.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001289/0.3238, allocations: 0.6505 MB / 430 MB, free: 10.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/0.3239, allocations: 16.06 kB / 430 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.3239, allocations: 16 kB / 430 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002104/0.3241, allocations: 32.84 kB / 430 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004995/0.3246, allocations: 151.7 kB / 430.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/0.326, allocations: 1.39 MB / 431.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005661/0.3266, allocations: 39.94 kB / 431.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.672e-05/0.3266, allocations: 36.09 kB / 431.6 MB, free: 8.359 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.0003982/0.3271, allocations: 237.5 kB / 431.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.3272, allocations: 83.47 kB / 432 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007855/0.328, allocations: 333.8 kB / 432.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.328, allocations: 4 kB / 432.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.328, allocations: 11.88 kB / 432.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.328, allocations: 3.984 kB / 432.3 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001848/0.3299, allocations: 1.115 MB / 433.4 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.3299, allocations: 4 kB / 433.4 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002909/0.3302, allocations: 55.91 kB / 433.5 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001059/0.3303, allocations: 24.84 kB / 433.5 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.3303, allocations: 8 kB / 433.5 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001161/0.3315, allocations: 1.383 MB / 434.9 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.3315, allocations: 8 kB / 434.9 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.3326, allocations: 0.585 MB / 435.5 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002869/0.3329, allocations: 168.6 kB / 435.7 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.619e-05/0.333, allocations: 11.98 kB / 435.7 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003344/0.3334, allocations: 23.98 kB / 435.7 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.3e-05/0.3335, allocations: 27.97 kB / 435.7 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.3335, allocations: 8 kB / 435.7 MB, free: 3.973 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007776/0.3343, allocations: 0.5185 MB / 436.2 MB, free: 3.461 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3343, allocations: 0 / 436.2 MB, free: 3.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000766/0.3351, allocations: 164 kB / 436.4 MB, free: 3.301 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.001553/0.3366, allocations: 1.147 MB / 437.5 MB, free: 2.102 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.3377, allocations: 492.6 kB / 438 MB, free: 1.609 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.3377, allocations: 3.938 kB / 438 MB, free: 1.605 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004116/0.3382, allocations: 234.5 kB / 438.3 MB, free: 1.363 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.3392, allocations: 201.3 kB / 438.5 MB, free: 1.172 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/0.3497, allocations: 6.526 MB / 445 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000722/0.3505, allocations: 0.9487 MB / 445.9 MB, free: 9.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004109/0.3509, allocations: 94.17 kB / 446 MB, free: 9.137 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004335/0.3514, allocations: 319.3 kB / 446.3 MB, free: 8.824 MB / 366.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3514, allocations: 0 / 446.3 MB, free: 8.824 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5399/0.8912, allocations: 16.05 MB / 462.4 MB, free: 9.059 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/13.01, allocations: 8.062 kB / 462.4 MB, free: 9.051 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/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