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.0008256/0.0008258, allocations: 97.36 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00102/0.00102, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.7 MB / 246.4 MB, free: 11.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002862/0.0002862, allocations: 4 kB / 307.1 MB, free: 1.152 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1131, allocations: 51.52 MB / 358.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.008442/0.1216, allocations: 7.038 MB / 365.7 MB, free: 6.566 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004879/0.1266, allocations: 2.487 MB / 368.2 MB, free: 4.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006906/0.1273, allocations: 20 kB / 368.2 MB, free: 4.051 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001283/0.1286, allocations: 425.6 kB / 368.6 MB, free: 3.633 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008421/0.1294, allocations: 329.5 kB / 368.9 MB, free: 3.309 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004158/0.1299, allocations: 147.8 kB / 369.1 MB, free: 3.164 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001086/0.131, allocations: 1.105 MB / 370.2 MB, free: 2.055 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006029/0.1316, allocations: 400 kB / 370.6 MB, free: 1.641 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005278/0.1321, allocations: 394.2 kB / 370.9 MB, free: 1.254 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005133/0.1326, allocations: 438 kB / 371.4 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.269e-05/0.1327, allocations: 56 kB / 371.4 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000254/0.133, allocations: 104 kB / 371.5 MB, free: 0.668 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.1331, allocations: 155.2 kB / 371.7 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001815/0.1333, allocations: 229.2 kB / 371.9 MB, free: 292 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1867/0.32, allocations: 1.128 MB / 373 MB, free: 11.01 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.3201, allocations: 0.625 kB / 373 MB, free: 11.01 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.3201, allocations: 0.75 kB / 373 MB, free: 11.01 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.654e-05/0.3202, allocations: 0 / 373 MB, free: 11.01 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.001957/0.3221, allocations: 1.161 MB / 374.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.3222, allocations: 10.38 kB / 374.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006836/0.3229, allocations: 181.9 kB / 374.4 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008622/0.3237, allocations: 0.6083 MB / 375 MB, free: 9.977 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.748e-05/0.3238, allocations: 63.66 kB / 375 MB, free: 9.977 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.3239, allocations: 87.73 kB / 375.1 MB, free: 9.973 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/0.3255, allocations: 0.8173 MB / 375.9 MB, free: 9.848 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.313e-05/0.3255, allocations: 8.75 kB / 376 MB, free: 9.844 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-05/0.3256, allocations: 38.2 kB / 376 MB, free: 9.844 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.623e-05/0.3256, allocations: 24.84 kB / 376 MB, free: 9.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.3267, allocations: 0.5475 MB / 376.6 MB, free: 9.832 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003848/0.3305, allocations: 3.59 MB / 380.2 MB, free: 8.012 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004793/0.331, allocations: 250 kB / 380.4 MB, free: 7.984 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002367/0.3313, allocations: 129.7 kB / 380.5 MB, free: 7.973 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.37e-05/0.3313, allocations: 4.25 kB / 380.5 MB, free: 7.973 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.665e-05/0.3314, allocations: 36.23 kB / 380.6 MB, free: 7.934 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 2.325e-06/0.3314, allocations: 0 / 380.6 MB, free: 7.934 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002048/0.3334, allocations: 1.113 MB / 381.7 MB, free: 7.387 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.3335, allocations: 87.56 kB / 381.8 MB, free: 7.285 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009785/0.3344, allocations: 0.752 MB / 382.5 MB, free: 7.148 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.3345, allocations: 36.39 kB / 382.6 MB, free: 7.113 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002738/0.3348, allocations: 0.5099 MB / 383.1 MB, free: 6.848 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.901e-05/0.3348, allocations: 114.5 kB / 383.2 MB, free: 6.777 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.125e-05/0.3349, allocations: 11.88 kB / 383.2 MB, free: 6.777 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.335, allocations: 383.2 kB / 383.6 MB, free: 6.465 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/0.3353, allocations: 136.5 kB / 383.7 MB, free: 6.457 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003821/0.3357, allocations: 450.9 kB / 384.1 MB, free: 6.062 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000358/0.336, allocations: 210.8 kB / 384.3 MB, free: 6.047 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.336, allocations: 3.469 kB / 384.3 MB, free: 6.047 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001074/0.3371, allocations: 0.6599 MB / 385 MB, free: 5.949 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.3371, allocations: 9.875 kB / 385 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.3372, allocations: 10.97 kB / 385 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001542/0.3373, allocations: 43.31 kB / 385.1 MB, free: 5.938 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004728/0.3378, allocations: 151.4 kB / 385.2 MB, free: 5.938 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007/0.3385, allocations: 1.289 MB / 386.5 MB, free: 4.676 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006169/0.3391, allocations: 50.16 kB / 386.6 MB, free: 4.668 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.036e-05/0.3392, allocations: 32.66 kB / 386.6 MB, free: 4.668 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * 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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003757/0.3396, allocations: 239 kB / 386.8 MB, free: 4.547 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.3397, allocations: 74.97 kB / 386.9 MB, free: 4.508 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006867/0.3404, allocations: 353.1 kB / 387.2 MB, free: 4.438 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.3404, allocations: 2.844 kB / 387.2 MB, free: 4.438 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3404, allocations: 2.531 kB / 387.2 MB, free: 4.438 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3404, allocations: 5.781 kB / 387.2 MB, free: 4.434 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.3422, allocations: 1.144 MB / 388.4 MB, free: 4.055 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.3422, allocations: 2.188 kB / 388.4 MB, free: 4.055 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002893/0.3425, allocations: 68.06 kB / 388.5 MB, free: 4.051 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.845e-05/0.3426, allocations: 21.77 kB / 388.5 MB, free: 4.043 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.3426, allocations: 9.938 kB / 388.5 MB, free: 4.043 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006402/0.3433, allocations: 1.276 MB / 389.8 MB, free: 2.789 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3433, allocations: 2.469 kB / 389.8 MB, free: 2.789 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008871/0.3442, allocations: 0.5913 MB / 390.4 MB, free: 2.539 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002055/0.3444, allocations: 176.9 kB / 390.5 MB, free: 2.406 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.794e-05/0.3445, allocations: 11.77 kB / 390.5 MB, free: 2.402 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003456/0.3449, allocations: 27.38 kB / 390.6 MB, free: 2.398 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.253e-05/0.3449, allocations: 27.27 kB / 390.6 MB, free: 2.398 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.345, allocations: 11.94 kB / 390.6 MB, free: 2.398 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006773/0.3457, allocations: 0.5063 MB / 391.1 MB, free: 2.309 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3457, allocations: 1.219 kB / 391.1 MB, free: 2.309 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000763/0.3464, allocations: 169.6 kB / 391.3 MB, free: 2.309 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001753/0.3466, allocations: 124 kB / 391.4 MB, free: 2.215 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008266/0.3474, allocations: 494.5 kB / 391.9 MB, free: 2.094 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3475, allocations: 0 / 391.9 MB, free: 2.094 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003403/0.3478, allocations: 247.7 kB / 392.1 MB, free: 1.98 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009395/0.3488, allocations: 192.7 kB / 392.3 MB, free: 1.922 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002273/0.351, allocations: 1.795 MB / 394.1 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.3514, allocations: 0.9505 MB / 395.1 MB, free: 56 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000354/0.3518, allocations: 95.3 kB / 395.2 MB, free: 28 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.3519, allocations: 51.69 kB / 395.2 MB, free: 20 kB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3519, allocations: 1.531 kB / 395.2 MB, free: 20 kB / 302.1 MB Notification: Performance of Templates: time 0.01649/0.3684, allocations: 7.707 MB / 402.9 MB, free: 12.44 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