Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001294/0.001294, allocations: 109.4 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001332/0.001332, allocations: 207.2 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.471/1.471, allocations: 230.4 MB / 251.1 MB, free: 8.48 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 71.84 kB / 369 MB, free: 6.074 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2944, allocations: 53.33 MB / 422.3 MB, free: 7.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009759/0.3041, allocations: 8.009 MB / 430.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004233/0.3083, allocations: 2.667 MB / 433 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006985/0.309, allocations: 23.94 kB / 433 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.3104, allocations: 0.5281 MB / 433.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009426/0.3113, allocations: 432.8 kB / 433.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000474/0.3118, allocations: 211.6 kB / 434.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00166/0.3135, allocations: 1.237 MB / 435.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008331/0.3143, allocations: 370 kB / 435.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000837/0.3151, allocations: 490.1 kB / 436.2 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006567/0.3158, allocations: 0.5211 MB / 436.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001424/0.3159, allocations: 116 kB / 436.8 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002896/0.3162, allocations: 163.9 kB / 437 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001906/0.3164, allocations: 231.2 kB / 437.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000535/0.317, allocations: 0.5638 MB / 437.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001647/0.3186, allocations: 1.471 MB / 439.3 MB, free: 6.773 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3186, allocations: 0 / 439.3 MB, free: 6.773 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.3186, allocations: 0 / 439.3 MB, free: 6.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.3186, allocations: 0 / 439.3 MB, free: 6.773 MB / 350.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.002193/0.3208, allocations: 1.339 MB / 440.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.3209, allocations: 12.03 kB / 440.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007708/0.3216, allocations: 172.2 kB / 440.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.3226, allocations: 0.6577 MB / 441.4 MB, free: 4.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.301e-05/0.3227, allocations: 58.38 kB / 441.5 MB, free: 4.445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.3228, allocations: 91.94 kB / 441.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.3243, allocations: 0.8184 MB / 442.4 MB, free: 3.504 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.189e-05/0.3244, allocations: 7.953 kB / 442.4 MB, free: 3.496 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-05/0.3244, allocations: 32 kB / 442.4 MB, free: 3.465 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.3244, allocations: 20 kB / 442.5 MB, free: 3.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.3255, allocations: 0.5426 MB / 443 MB, free: 2.906 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004468/0.33, allocations: 3.556 MB / 446.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005203/0.3305, allocations: 237.4 kB / 446.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002422/0.3308, allocations: 100.8 kB / 446.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.3308, allocations: 4 kB / 446.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.3308, allocations: 50.44 kB / 446.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 3.186e-06/0.3308, allocations: 3.984 kB / 447 MB, free: 14.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002342/0.3332, allocations: 1.09 MB / 448 MB, free: 13.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.733e-05/0.3332, allocations: 85.05 kB / 448.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.3343, allocations: 0.7547 MB / 448.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.3343, allocations: 29.7 kB / 448.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004349/0.3347, allocations: 0.5306 MB / 449.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.268e-05/0.3348, allocations: 115.1 kB / 449.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.335, allocations: 118.2 kB / 449.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.3352, allocations: 390.7 kB / 450 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003099/0.3355, allocations: 133.2 kB / 450.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005661/0.3361, allocations: 442.2 kB / 450.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.3372, allocations: 0.6138 MB / 451.2 MB, free: 10.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/0.3372, allocations: 4 kB / 451.2 MB, free: 10 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001652/0.3389, allocations: 0.6505 MB / 451.9 MB, free: 9.344 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.3389, allocations: 12 kB / 451.9 MB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.391e-05/0.3389, allocations: 11.94 kB / 451.9 MB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000196/0.3391, allocations: 36.78 kB / 451.9 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007726/0.3399, allocations: 159.7 kB / 452.1 MB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001962/0.3419, allocations: 1.387 MB / 453.5 MB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007112/0.3426, allocations: 48 kB / 453.5 MB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-05/0.3427, allocations: 32 kB / 453.6 MB, free: 7.523 MB / 366.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.0004358/0.3431, allocations: 241.7 kB / 453.8 MB, free: 7.277 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/0.3433, allocations: 83.48 kB / 453.9 MB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009986/0.3443, allocations: 330 kB / 454.2 MB, free: 6.859 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.3443, allocations: 4 kB / 454.2 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.3443, allocations: 0 / 454.2 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.3443, allocations: 7.922 kB / 454.2 MB, free: 6.848 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00266/0.3469, allocations: 1.114 MB / 455.3 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3469, allocations: 0 / 455.3 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003961/0.3473, allocations: 60.12 kB / 455.4 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001141/0.3474, allocations: 28.89 kB / 455.4 MB, free: 5.562 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.3475, allocations: 11.98 kB / 455.4 MB, free: 5.551 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/0.349, allocations: 1.372 MB / 456.8 MB, free: 4.035 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.794e-06/0.349, allocations: 8.016 kB / 456.8 MB, free: 4.027 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.3505, allocations: 0.5723 MB / 457.4 MB, free: 3.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003786/0.3508, allocations: 196.5 kB / 457.6 MB, free: 3.199 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.351, allocations: 8 kB / 457.6 MB, free: 3.191 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005423/0.3515, allocations: 19.98 kB / 457.6 MB, free: 3.172 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.615e-05/0.3516, allocations: 23.91 kB / 457.6 MB, free: 3.148 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/0.3516, allocations: 11.98 kB / 457.6 MB, free: 3.137 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009886/0.3526, allocations: 0.5147 MB / 458.1 MB, free: 2.629 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3526, allocations: 4 kB / 458.1 MB, free: 2.625 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001099/0.3537, allocations: 175.9 kB / 458.3 MB, free: 2.453 MB / 366.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.0003406/0.3541, allocations: 124 kB / 458.4 MB, free: 2.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001472/0.3555, allocations: 461.6 kB / 458.9 MB, free: 1.859 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/0.3555, allocations: 8.062 kB / 458.9 MB, free: 1.852 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006258/0.3562, allocations: 238.4 kB / 459.1 MB, free: 1.605 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.3575, allocations: 198.7 kB / 459.3 MB, free: 1.418 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003869/0.3614, allocations: 1.492 MB / 460.8 MB, free: 15.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/0.3627, allocations: 0.9487 MB / 461.8 MB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004678/0.3631, allocations: 94.17 kB / 461.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.3633, allocations: 51.42 kB / 461.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3633, allocations: 0 / 461.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of Templates: time 0.02801/0.3913, allocations: 8.755 MB / 470.7 MB, free: 6.098 MB / 382.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches