Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008431/0.0008431, allocations: 99.91 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001143/0.001143, allocations: 197.2 kB / 17.9 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.7 MB / 246.4 MB, free: 9.824 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002105/0.0002107, allocations: 8 kB / 307.1 MB, free: 0.9531 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1065, allocations: 51.52 MB / 358.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.009444/0.116, allocations: 8.504 MB / 367.1 MB, free: 4.895 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005378/0.1214, allocations: 2.911 MB / 370.1 MB, free: 1.973 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000814/0.1223, allocations: 23.94 kB / 370.1 MB, free: 1.949 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001221/0.1235, allocations: 485.2 kB / 370.6 MB, free: 1.473 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001116/0.1246, allocations: 488.4 kB / 371 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005205/0.1252, allocations: 219.7 kB / 371.2 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.179/0.3042, allocations: 1.565 MB / 372.8 MB, free: 9.883 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008582/0.3051, allocations: 0.4887 MB / 373.3 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008481/0.3059, allocations: 0.5541 MB / 373.9 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007905/0.3067, allocations: 0.6278 MB / 374.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001667/0.3069, allocations: 92.09 kB / 374.6 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003599/0.3073, allocations: 121.1 kB / 374.7 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002798/0.3076, allocations: 240.4 kB / 374.9 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003744/0.308, allocations: 311 kB / 375.2 MB, free: 9.777 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001498/0.3095, allocations: 1.516 MB / 376.7 MB, free: 9.664 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3095, allocations: 0 / 376.7 MB, free: 9.664 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3095, allocations: 0 / 376.7 MB, free: 9.664 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.488e-05/0.3095, allocations: 0 / 376.7 MB, free: 9.664 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002443/0.312, allocations: 1.567 MB / 378.3 MB, free: 8.738 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.312, allocations: 11.36 kB / 378.3 MB, free: 8.738 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005252/0.3125, allocations: 197.7 kB / 378.5 MB, free: 8.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.3137, allocations: 0.7896 MB / 379.3 MB, free: 8.332 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/0.3139, allocations: 120 kB / 379.4 MB, free: 8.293 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/0.314, allocations: 112.3 kB / 379.5 MB, free: 8.289 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001864/0.3159, allocations: 1.142 MB / 380.7 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.642e-05/0.3159, allocations: 5.844 kB / 380.7 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.13e-05/0.316, allocations: 47.53 kB / 380.7 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.3161, allocations: 26.38 kB / 380.7 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00145/0.3175, allocations: 0.7692 MB / 381.5 MB, free: 8.027 MB / 302.1 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.004955/0.3225, allocations: 3.955 MB / 385.5 MB, free: 6.508 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/0.3239, allocations: 0.5969 MB / 386.1 MB, free: 6.461 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004614/0.3243, allocations: 275.2 kB / 386.3 MB, free: 6.449 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.67e-05/0.3244, allocations: 10.98 kB / 386.4 MB, free: 6.445 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005732/0.325, allocations: 311.5 kB / 386.7 MB, free: 6.379 MB / 302.1 MB Notification: Performance of pre-optimization done (n=62): time 2.335e-06/0.325, allocations: 0 / 386.7 MB, free: 6.379 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.004059/0.3291, allocations: 2.116 MB / 388.8 MB, free: 5.617 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.615e-05/0.3291, allocations: 480.7 kB / 389.2 MB, free: 5.051 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/0.3305, allocations: 1.095 MB / 390.3 MB, free: 4.887 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.88e-05/0.3306, allocations: 41.86 kB / 390.4 MB, free: 4.855 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003902/0.331, allocations: 0.648 MB / 391 MB, free: 4.336 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.3311, allocations: 229.1 kB / 391.2 MB, free: 4.141 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.3312, allocations: 21.88 kB / 391.3 MB, free: 4.125 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.437e-05/0.3312, allocations: 342.5 kB / 391.6 MB, free: 3.793 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004984/0.3317, allocations: 252.5 kB / 391.9 MB, free: 3.676 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006863/0.3324, allocations: 0.7171 MB / 392.6 MB, free: 2.941 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006207/0.3331, allocations: 408.7 kB / 393 MB, free: 2.707 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.3331, allocations: 7.188 kB / 393 MB, free: 2.703 MB / 302.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001769/0.3349, allocations: 1.13 MB / 394.1 MB, free: 2.098 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.77e-05/0.3349, allocations: 69.78 kB / 394.2 MB, free: 2.027 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.3349, allocations: 12.69 kB / 394.2 MB, free: 2.027 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004907/0.3354, allocations: 169 kB / 394.3 MB, free: 1.953 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006125/0.336, allocations: 212.5 kB / 394.6 MB, free: 1.902 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003589/0.3396, allocations: 3.558 MB / 398.1 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009599/0.3406, allocations: 83.08 kB / 398.2 MB, free: 14.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.386e-05/0.3407, allocations: 46.59 kB / 398.2 MB, free: 14.56 MB / 318.1 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.0006166/0.3413, allocations: 300.8 kB / 398.5 MB, free: 14.32 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.3415, allocations: 119.3 kB / 398.7 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001499/0.343, allocations: 0.7267 MB / 399.4 MB, free: 13.85 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.343, allocations: 8.625 kB / 399.4 MB, free: 13.85 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.343, allocations: 0 / 399.4 MB, free: 13.85 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001416/0.3444, allocations: 0.968 MB / 400.4 MB, free: 13.06 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002881/0.3473, allocations: 1.816 MB / 402.2 MB, free: 11.78 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/0.3474, allocations: 2.969 kB / 402.2 MB, free: 11.78 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004821/0.3478, allocations: 103.6 kB / 402.3 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004812/0.3483, allocations: 139.4 kB / 402.4 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.494e-05/0.3484, allocations: 13.97 kB / 402.4 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004185/0.3526, allocations: 3.276 MB / 405.7 MB, free: 8.543 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/0.3526, allocations: 2.375 kB / 405.7 MB, free: 8.543 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002016/0.3546, allocations: 1.07 MB / 406.8 MB, free: 7.902 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004776/0.3551, allocations: 249 kB / 407 MB, free: 7.676 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/0.3553, allocations: 23.48 kB / 407 MB, free: 7.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000611/0.3559, allocations: 44.8 kB / 407.1 MB, free: 7.645 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/0.3561, allocations: 66.03 kB / 407.1 MB, free: 7.605 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.101e-05/0.3561, allocations: 20.86 kB / 407.2 MB, free: 7.598 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00139/0.3575, allocations: 0.7354 MB / 407.9 MB, free: 6.957 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.3575, allocations: 0 / 407.9 MB, free: 6.957 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001246/0.3588, allocations: 304 kB / 408.2 MB, free: 6.66 MB / 318.1 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.0002492/0.3591, allocations: 148 kB / 408.3 MB, free: 6.512 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001965/0.361, allocations: 1.096 MB / 409.4 MB, free: 5.367 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/0.3611, allocations: 4.812 kB / 409.4 MB, free: 5.363 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008877/0.3619, allocations: 0.5533 MB / 410 MB, free: 4.781 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/0.3633, allocations: 325.7 kB / 410.3 MB, free: 4.469 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003862/0.3672, allocations: 2.711 MB / 413 MB, free: 1.719 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006786/0.3679, allocations: 1.082 MB / 414.1 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005802/0.3685, allocations: 153.8 kB / 414.3 MB, free: 468 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/0.3687, allocations: 79.42 kB / 414.3 MB, free: 388 kB / 318.1 MB Notification: Performance of SimCode: time 9.61e-07/0.3687, allocations: 0 / 414.3 MB, free: 388 kB / 318.1 MB Notification: Performance of Templates: time 0.02709/0.3958, allocations: 16.26 MB / 430.6 MB, free: 372 kB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches