Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001102/0.001102, allocations: 109.1 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001352/0.001352, allocations: 205.8 kB / 18.26 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 227.4 MB / 246.4 MB, free: 9.074 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 58.8 kB / 306.4 MB, free: 0.7031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1106, allocations: 50.53 MB / 357 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009713/0.1204, allocations: 7.963 MB / 364.9 MB, free: 6.164 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004633/0.1251, allocations: 2.618 MB / 367.6 MB, free: 3.535 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/0.1262, allocations: 23.94 kB / 367.6 MB, free: 3.512 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001722/0.128, allocations: 457.6 kB / 368 MB, free: 3.062 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001417/0.1294, allocations: 345.5 kB / 368.4 MB, free: 2.723 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006684/0.1301, allocations: 191.8 kB / 368.5 MB, free: 2.535 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001681/0.1318, allocations: 1.226 MB / 369.8 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008292/0.1326, allocations: 0.5409 MB / 370.3 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007777/0.1334, allocations: 490 kB / 370.8 MB, free: 264 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1932/0.3266, allocations: 0.5059 MB / 371.3 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003737/0.327, allocations: 114.8 kB / 371.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005134/0.3275, allocations: 161.5 kB / 371.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.3277, allocations: 238.9 kB / 371.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005896/0.3283, allocations: 0.5663 MB / 372.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001787/0.3301, allocations: 1.437 MB / 373.8 MB, free: 10.9 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3301, allocations: 1.188 kB / 373.8 MB, free: 10.9 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3301, allocations: 1.594 kB / 373.8 MB, free: 10.9 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.886e-05/0.3301, allocations: 0 / 373.8 MB, free: 10.9 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002425/0.3326, allocations: 1.307 MB / 375.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/0.3326, allocations: 9.031 kB / 375.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008838/0.3335, allocations: 177.1 kB / 375.3 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.3346, allocations: 0.6294 MB / 375.9 MB, free: 9.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.348e-05/0.3347, allocations: 69.41 kB / 376 MB, free: 9.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.3349, allocations: 90.39 kB / 376.1 MB, free: 9.816 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.3365, allocations: 0.8227 MB / 376.9 MB, free: 9.688 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.43e-05/0.3365, allocations: 9.375 kB / 376.9 MB, free: 9.684 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.839e-05/0.3366, allocations: 33.38 kB / 376.9 MB, free: 9.684 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/0.3366, allocations: 20.62 kB / 377 MB, free: 9.684 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/0.3377, allocations: 0.5393 MB / 377.5 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00454/0.3423, allocations: 3.577 MB / 381.1 MB, free: 7.473 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005908/0.3429, allocations: 239.2 kB / 381.3 MB, free: 7.371 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003124/0.3432, allocations: 122.2 kB / 381.4 MB, free: 7.324 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.872e-05/0.3433, allocations: 2.531 kB / 381.4 MB, free: 7.324 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.3433, allocations: 40.8 kB / 381.5 MB, free: 7.281 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 2.224e-06/0.3433, allocations: 0 / 381.5 MB, free: 7.281 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002447/0.3458, allocations: 1.076 MB / 382.6 MB, free: 6.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.3458, allocations: 84.52 kB / 382.6 MB, free: 6.473 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.3469, allocations: 0.7629 MB / 383.4 MB, free: 6.133 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.3469, allocations: 32.3 kB / 383.4 MB, free: 6.098 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003319/0.3473, allocations: 0.5138 MB / 383.9 MB, free: 5.688 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.01e-05/0.3473, allocations: 107.7 kB / 384.1 MB, free: 5.609 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/0.3475, allocations: 121 kB / 384.2 MB, free: 5.535 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.3476, allocations: 385.8 kB / 384.5 MB, free: 5.188 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00029/0.3479, allocations: 131 kB / 384.7 MB, free: 5.148 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004/0.3483, allocations: 447.2 kB / 385.1 MB, free: 4.691 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006814/0.349, allocations: 0.6081 MB / 385.7 MB, free: 4.172 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.349, allocations: 3.906 kB / 385.7 MB, free: 4.172 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001098/0.3501, allocations: 0.6454 MB / 386.4 MB, free: 3.949 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.3502, allocations: 13.22 kB / 386.4 MB, free: 3.945 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.3502, allocations: 13.58 kB / 386.4 MB, free: 3.945 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001698/0.3504, allocations: 40.7 kB / 386.4 MB, free: 3.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004794/0.3509, allocations: 153.8 kB / 386.6 MB, free: 3.922 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008249/0.3517, allocations: 1.396 MB / 388 MB, free: 2.516 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005769/0.3523, allocations: 38.7 kB / 388 MB, free: 2.504 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-05/0.3523, allocations: 36.48 kB / 388.1 MB, free: 2.496 MB / 302.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.0003411/0.3527, allocations: 250.4 kB / 388.3 MB, free: 2.301 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.3528, allocations: 73.16 kB / 388.4 MB, free: 2.266 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006494/0.3535, allocations: 335.1 kB / 388.7 MB, free: 2.109 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3535, allocations: 6.5 kB / 388.7 MB, free: 2.105 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3535, allocations: 7.484 kB / 388.7 MB, free: 2.102 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.3535, allocations: 0 / 388.7 MB, free: 2.102 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00181/0.3553, allocations: 1.119 MB / 389.8 MB, free: 1.449 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.3553, allocations: 1.344 kB / 389.8 MB, free: 1.449 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003004/0.3556, allocations: 62.53 kB / 389.9 MB, free: 1.449 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.695e-05/0.3557, allocations: 19.3 kB / 389.9 MB, free: 1.438 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.3558, allocations: 11.16 kB / 389.9 MB, free: 1.434 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006602/0.3564, allocations: 1.378 MB / 391.3 MB, free: 32 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3564, allocations: 5.312 kB / 391.3 MB, free: 32 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000969/0.3574, allocations: 0.5612 MB / 391.9 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002476/0.3577, allocations: 181.9 kB / 392 MB, free: 15.52 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.287e-05/0.3578, allocations: 11.66 kB / 392.1 MB, free: 15.51 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003636/0.3582, allocations: 30.11 kB / 392.1 MB, free: 15.5 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.917e-05/0.3582, allocations: 23.73 kB / 392.1 MB, free: 15.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.37e-05/0.3583, allocations: 12.31 kB / 392.1 MB, free: 15.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007519/0.359, allocations: 0.518 MB / 392.6 MB, free: 15.27 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.359, allocations: 0 / 392.6 MB, free: 15.27 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008429/0.3599, allocations: 174.7 kB / 392.8 MB, free: 15.25 MB / 318.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.0002446/0.3601, allocations: 118.6 kB / 392.9 MB, free: 15.16 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.3612, allocations: 491.3 kB / 393.4 MB, free: 14.95 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.3612, allocations: 1.062 kB / 393.4 MB, free: 14.95 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003921/0.3616, allocations: 243.7 kB / 393.6 MB, free: 14.81 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.3627, allocations: 188.1 kB / 393.8 MB, free: 14.75 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002967/0.3657, allocations: 1.825 MB / 395.7 MB, free: 13.52 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005982/0.3663, allocations: 0.9552 MB / 396.6 MB, free: 12.8 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004499/0.3668, allocations: 96.03 kB / 396.7 MB, free: 12.77 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.3669, allocations: 50.95 kB / 396.8 MB, free: 12.76 MB / 318.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3669, allocations: 0 / 396.8 MB, free: 12.76 MB / 318.1 MB Notification: Performance of Templates: time 0.01938/0.3863, allocations: 8.358 MB / 405.1 MB, free: 8.668 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches