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.0007907/0.0007908, allocations: 97.75 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008509/0.0008509, allocations: 200.8 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002539/0.0002537, allocations: 4 kB / 307.8 MB, free: 0.8125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1129, allocations: 51.52 MB / 359.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.00931/0.1222, allocations: 7.472 MB / 366.7 MB, free: 5.785 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005869/0.1282, allocations: 2.594 MB / 369.3 MB, free: 3.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/0.1295, allocations: 23.94 kB / 369.4 MB, free: 3.156 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001759/0.1313, allocations: 453.5 kB / 369.8 MB, free: 2.711 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001512/0.1328, allocations: 349.5 kB / 370.1 MB, free: 2.367 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005831/0.1334, allocations: 187.8 kB / 370.3 MB, free: 2.184 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001658/0.1351, allocations: 1.167 MB / 371.5 MB, free: 1.012 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006831/0.1358, allocations: 475.8 kB / 372 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006183/0.1364, allocations: 410 kB / 372.4 MB, free: 124 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1752/0.3117, allocations: 446.2 kB / 372.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002172/0.3119, allocations: 54.97 kB / 372.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003339/0.3123, allocations: 97.41 kB / 372.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.3124, allocations: 169.3 kB / 373.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004525/0.3129, allocations: 0.517 MB / 373.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.3142, allocations: 1.368 MB / 375 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3142, allocations: 1.562 kB / 375 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3142, allocations: 0 / 375 MB, free: 10.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.3142, allocations: 2.219 kB / 375 MB, free: 10.43 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.001729/0.3159, allocations: 1.149 MB / 376.1 MB, free: 9.734 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.316, allocations: 13.56 kB / 376.2 MB, free: 9.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000709/0.3167, allocations: 183.6 kB / 376.3 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008981/0.3176, allocations: 0.632 MB / 377 MB, free: 9.371 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.091e-05/0.3177, allocations: 65.12 kB / 377 MB, free: 9.371 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.3178, allocations: 89.94 kB / 377.1 MB, free: 9.367 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.3191, allocations: 0.8281 MB / 378 MB, free: 9.234 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/0.3192, allocations: 2.688 kB / 378 MB, free: 9.234 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.189e-05/0.3192, allocations: 38.5 kB / 378 MB, free: 9.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.3193, allocations: 20.75 kB / 378 MB, free: 9.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.3203, allocations: 0.5532 MB / 378.6 MB, free: 9.223 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00372/0.324, allocations: 3.593 MB / 382.2 MB, free: 7.398 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005106/0.3246, allocations: 248.5 kB / 382.4 MB, free: 7.371 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002467/0.3248, allocations: 127.9 kB / 382.5 MB, free: 7.359 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.3248, allocations: 3.062 kB / 382.5 MB, free: 7.359 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.3249, allocations: 36.72 kB / 382.6 MB, free: 7.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.703e-06/0.3249, allocations: 0 / 382.6 MB, free: 7.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001829/0.3267, allocations: 1.116 MB / 383.7 MB, free: 6.773 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.3268, allocations: 84.81 kB / 383.8 MB, free: 6.676 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009168/0.3277, allocations: 0.7697 MB / 384.5 MB, free: 6.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.3277, allocations: 32.3 kB / 384.6 MB, free: 6.484 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003023/0.328, allocations: 0.5092 MB / 385.1 MB, free: 6.078 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.047e-05/0.3281, allocations: 107 kB / 385.2 MB, free: 6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.533e-05/0.3282, allocations: 59.94 kB / 385.2 MB, free: 5.961 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.3283, allocations: 384.8 kB / 385.6 MB, free: 5.613 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002957/0.3286, allocations: 142.1 kB / 385.8 MB, free: 5.566 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004023/0.329, allocations: 451.1 kB / 386.2 MB, free: 5.117 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006944/0.3297, allocations: 0.6227 MB / 386.8 MB, free: 4.594 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.3297, allocations: 3.188 kB / 386.8 MB, free: 4.594 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0011/0.3308, allocations: 0.6652 MB / 387.5 MB, free: 4.367 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.3308, allocations: 9.75 kB / 387.5 MB, free: 4.367 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.3309, allocations: 10.41 kB / 387.5 MB, free: 4.367 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001595/0.331, allocations: 38.83 kB / 387.5 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004858/0.3315, allocations: 158.8 kB / 387.7 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006716/0.3322, allocations: 1.293 MB / 389 MB, free: 3.035 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004915/0.3327, allocations: 52.16 kB / 389 MB, free: 3.016 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-05/0.3328, allocations: 33.19 kB / 389.1 MB, free: 3.012 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.0002961/0.3331, allocations: 245.3 kB / 389.3 MB, free: 2.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.408e-05/0.3332, allocations: 79.41 kB / 389.4 MB, free: 2.777 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006282/0.3338, allocations: 349 kB / 389.7 MB, free: 2.617 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3338, allocations: 3 kB / 389.7 MB, free: 2.617 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3338, allocations: 1.094 kB / 389.7 MB, free: 2.617 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.3338, allocations: 5.875 kB / 389.7 MB, free: 2.613 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.3354, allocations: 1.127 MB / 390.9 MB, free: 1.969 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.3354, allocations: 5.531 kB / 390.9 MB, free: 1.969 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.3357, allocations: 70.59 kB / 390.9 MB, free: 1.961 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.43e-05/0.3358, allocations: 24.56 kB / 391 MB, free: 1.949 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.3358, allocations: 7.438 kB / 391 MB, free: 1.945 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005445/0.3363, allocations: 1.287 MB / 392.3 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3364, allocations: 1.375 kB / 392.3 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008107/0.3372, allocations: 0.5928 MB / 392.9 MB, free: 280 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001708/0.3374, allocations: 172.2 kB / 393 MB, free: 124 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.785e-05/0.3374, allocations: 10.94 kB / 393 MB, free: 120 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003393/0.3378, allocations: 31.55 kB / 393.1 MB, free: 108 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.944e-05/0.3379, allocations: 29.95 kB / 393.1 MB, free: 100 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.3379, allocations: 12.16 kB / 393.1 MB, free: 96 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007153/0.3386, allocations: 0.5198 MB / 393.6 MB, free: 15.89 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3386, allocations: 0 / 393.6 MB, free: 15.89 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007042/0.3393, allocations: 171.1 kB / 393.8 MB, free: 15.87 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.0001851/0.3395, allocations: 122.8 kB / 393.9 MB, free: 15.77 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008812/0.3404, allocations: 495.5 kB / 394.4 MB, free: 15.57 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3404, allocations: 0 / 394.4 MB, free: 15.57 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003712/0.3408, allocations: 252.2 kB / 394.6 MB, free: 15.43 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.3419, allocations: 179.8 kB / 394.8 MB, free: 15.37 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.3444, allocations: 1.9 MB / 396.7 MB, free: 14.07 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005134/0.3449, allocations: 0.9514 MB / 397.7 MB, free: 13.25 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003552/0.3453, allocations: 96.91 kB / 397.8 MB, free: 13.2 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.3454, allocations: 48.41 kB / 397.8 MB, free: 13.2 MB / 318.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3454, allocations: 0 / 397.8 MB, free: 13.2 MB / 318.1 MB Notification: Performance of Templates: time 0.01526/0.3607, allocations: 7.95 MB / 405.8 MB, free: 8.859 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