Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.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_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002764/0.002771, allocations: 188.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.437/3.437, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001923/0.001922, allocations: 98.84 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005961/0.0005961, allocations: 8 kB / 327 MB, free: 15.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2182, allocations: 47.59 MB / 374.6 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01927/0.2375, allocations: 7.612 MB / 382.2 MB, free: 7.77 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01105/0.2487, allocations: 2.948 MB / 385.1 MB, free: 4.812 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001978/0.2507, allocations: 23.94 kB / 385.1 MB, free: 4.789 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003643/0.2544, allocations: 489.5 kB / 385.6 MB, free: 4.309 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004177/0.2587, allocations: 0.6388 MB / 386.3 MB, free: 3.668 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.2606, allocations: 223.8 kB / 386.5 MB, free: 3.449 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005111/0.2658, allocations: 1.253 MB / 387.7 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001837/0.2677, allocations: 499.4 kB / 388.2 MB, free: 1.688 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001779/0.2695, allocations: 0.5176 MB / 388.7 MB, free: 1.168 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002049/0.2717, allocations: 0.5989 MB / 389.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006114/0.2723, allocations: 76 kB / 389.4 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.2734, allocations: 116 kB / 389.5 MB, free: 388 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004552/0.2739, allocations: 227 kB / 389.7 MB, free: 160 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.5885/0.8624, allocations: 306.6 kB / 390 MB, free: 10.66 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005085/0.8676, allocations: 1.434 MB / 391.5 MB, free: 10.54 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.8677, allocations: 0 / 391.5 MB, free: 10.54 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.292e-06/0.8677, allocations: 5.094 kB / 391.5 MB, free: 10.54 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001281/0.8678, allocations: 2.062 kB / 391.5 MB, free: 10.54 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.008225/0.8761, allocations: 1.544 MB / 393 MB, free: 9.625 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.468e-05/0.8762, allocations: 9.625 kB / 393 MB, free: 9.625 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001819/0.878, allocations: 183.8 kB / 393.2 MB, free: 9.547 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004243/0.8823, allocations: 0.7652 MB / 394 MB, free: 9.219 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004207/0.8828, allocations: 117.6 kB / 394.1 MB, free: 9.184 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008337/0.8837, allocations: 115.9 kB / 394.2 MB, free: 9.18 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0068/0.8905, allocations: 1.128 MB / 395.3 MB, free: 8.93 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00012/0.8907, allocations: 1.844 kB / 395.3 MB, free: 8.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003956/0.8911, allocations: 51.5 kB / 395.4 MB, free: 8.926 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.028e-05/0.8912, allocations: 26.81 kB / 395.4 MB, free: 8.926 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005267/0.8965, allocations: 0.7666 MB / 396.2 MB, free: 8.914 MB / 282.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01716/0.9137, allocations: 3.889 MB / 400.1 MB, free: 7.453 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004154/0.9179, allocations: 0.5957 MB / 400.7 MB, free: 7.414 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000178/0.9182, allocations: 17.09 kB / 400.7 MB, free: 7.41 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001828/0.921, allocations: 299 kB / 401 MB, free: 7.352 MB / 282.7 MB Notification: Performance of pre-optimization done (n=62): time 7.164e-06/0.9211, allocations: 0 / 401 MB, free: 7.352 MB / 282.7 MB Notification: Performance of matching and sorting (n=65): time 0.01267/0.9338, allocations: 2.114 MB / 403.1 MB, free: 6.594 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002133/0.9341, allocations: 476.9 kB / 403.5 MB, free: 6.031 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004411/0.9385, allocations: 1.014 MB / 404.6 MB, free: 5.867 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003636/0.9389, allocations: 45.42 kB / 404.6 MB, free: 5.832 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001336/0.9403, allocations: 0.6306 MB / 405.2 MB, free: 5.477 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006359/0.941, allocations: 230.6 kB / 405.5 MB, free: 5.336 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.9412, allocations: 19.81 kB / 405.5 MB, free: 5.336 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.9414, allocations: 350.5 kB / 405.8 MB, free: 5.023 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001707/0.9431, allocations: 253.5 kB / 406.1 MB, free: 5.016 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002439/0.9456, allocations: 0.7068 MB / 406.8 MB, free: 4.453 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002228/0.9479, allocations: 405.4 kB / 407.2 MB, free: 4.367 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.719e-05/0.948, allocations: 4.281 kB / 407.2 MB, free: 4.367 MB / 282.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.006193/0.9542, allocations: 1.055 MB / 408.2 MB, free: 4.211 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001189/0.9544, allocations: 70.17 kB / 408.3 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-05/0.9545, allocations: 12.06 kB / 408.3 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0015/0.956, allocations: 171.7 kB / 408.5 MB, free: 4.113 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002082/0.9582, allocations: 209.8 kB / 408.7 MB, free: 4.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009767/0.968, allocations: 3.597 MB / 412.3 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003323/0.9714, allocations: 78.23 kB / 412.4 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004256/0.9719, allocations: 47.58 kB / 412.4 MB, free: 0.9062 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * 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: 1 {6 9} Notification: Performance of prepare postOptimizeDAE: time 0.001871/0.9738, allocations: 296.8 kB / 412.7 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006939/0.9745, allocations: 124.4 kB / 412.8 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004436/0.979, allocations: 0.7266 MB / 413.5 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.787e-05/0.9791, allocations: 5.875 kB / 413.5 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.9791, allocations: 2.094 kB / 413.6 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00424/0.9834, allocations: 0.969 MB / 414.5 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00967/0.9931, allocations: 1.752 MB / 416.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.769e-05/0.9932, allocations: 3.75 kB / 416.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001365/0.9946, allocations: 114.3 kB / 416.4 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001139/0.9958, allocations: 133.8 kB / 416.5 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001961/0.996, allocations: 14.12 kB / 416.5 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008273/1.004, allocations: 3.311 MB / 419.8 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.4e-05/1.004, allocations: 5.016 kB / 419.8 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005529/1.01, allocations: 1.159 MB / 421 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001484/1.012, allocations: 238 kB / 421.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007201/1.012, allocations: 21.73 kB / 421.3 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002171/1.015, allocations: 54.58 kB / 421.3 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004129/1.015, allocations: 58.92 kB / 421.4 MB, free: 9.945 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/1.015, allocations: 21.38 kB / 421.4 MB, free: 9.938 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.002542/1.018, allocations: 0.6703 MB / 422.1 MB, free: 9.551 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.71e-07/1.018, allocations: 0 / 422.1 MB, free: 9.551 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.003576/1.021, allocations: 306.1 kB / 422.4 MB, free: 9.52 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi,armature.T,core.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * 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: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005461/1.022, allocations: 136.8 kB / 422.5 MB, free: 9.406 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.004984/1.027, allocations: 1.101 MB / 423.6 MB, free: 8.723 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.695e-05/1.027, allocations: 4.062 kB / 423.6 MB, free: 8.719 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002383/1.029, allocations: 0.5457 MB / 424.1 MB, free: 8.164 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003866/1.033, allocations: 299.5 kB / 424.4 MB, free: 7.871 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/1.044, allocations: 2.758 MB / 427.2 MB, free: 5.086 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001763/1.046, allocations: 1.112 MB / 428.3 MB, free: 3.949 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006461/1.047, allocations: 83.42 kB / 428.4 MB, free: 3.867 MB / 298.7 MB Notification: Performance of SimCode: time 1.844e-06/1.047, allocations: 0 / 428.4 MB, free: 3.867 MB / 298.7 MB Notification: Performance of Templates: time 0.07879/1.125, allocations: 24.36 MB / 452.7 MB, free: 11.5 MB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches