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.001638/0.001638, allocations: 121.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001839/0.001839, allocations: 200.7 kB / 18.74 MB, free: 4.312 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.484/1.484, allocations: 227.7 MB / 247.2 MB, free: 10.2 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.001918/0.001918, allocations: 63.89 kB / 359 MB, free: 12.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2779, allocations: 50.55 MB / 409.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01026/0.2882, allocations: 7.987 MB / 417.6 MB, free: 9.406 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005086/0.2934, allocations: 2.652 MB / 420.2 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007873/0.2942, allocations: 23.94 kB / 420.2 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.2956, allocations: 0.493 MB / 420.7 MB, free: 6.227 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001002/0.2966, allocations: 404.8 kB / 421.1 MB, free: 5.828 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004808/0.2971, allocations: 215.6 kB / 421.3 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001309/0.2985, allocations: 1.237 MB / 422.6 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007733/0.2992, allocations: 0.537 MB / 423.1 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006997/0.2999, allocations: 490 kB / 423.6 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006302/0.3006, allocations: 0.5134 MB / 424.1 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001572/0.3008, allocations: 116 kB / 424.2 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003143/0.3011, allocations: 156 kB / 424.4 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001978/0.3013, allocations: 239.1 kB / 424.6 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005645/0.3019, allocations: 0.5599 MB / 425.2 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001791/0.3037, allocations: 1.475 MB / 426.6 MB, free: 272 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3037, allocations: 0 / 426.6 MB, free: 272 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3037, allocations: 4 kB / 426.6 MB, free: 268 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.3037, allocations: 0 / 426.6 MB, free: 268 kB / 334.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.002275/0.306, allocations: 1.327 MB / 428 MB, free: 14.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.306, allocations: 12.03 kB / 428 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007044/0.3067, allocations: 180.2 kB / 428.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.3079, allocations: 0.6537 MB / 428.8 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.575e-05/0.3079, allocations: 62.38 kB / 428.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.3081, allocations: 91.92 kB / 429 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.3095, allocations: 0.8184 MB / 429.8 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.389e-05/0.3095, allocations: 11.88 kB / 429.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.064e-05/0.3096, allocations: 32 kB / 429.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/0.3096, allocations: 24 kB / 429.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.3107, allocations: 0.5387 MB / 430.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004614/0.3153, allocations: 3.544 MB / 433.9 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005706/0.3159, allocations: 254.6 kB / 434.2 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004075/0.3163, allocations: 112.8 kB / 434.3 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.316e-05/0.3164, allocations: 0 / 434.3 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.259e-05/0.3165, allocations: 46.55 kB / 434.3 MB, free: 8.184 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 2.043e-06/0.3165, allocations: 0 / 434.3 MB, free: 8.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.003304/0.3198, allocations: 1.091 MB / 435.4 MB, free: 7.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.049e-05/0.3199, allocations: 85.05 kB / 435.5 MB, free: 6.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/0.3213, allocations: 0.7625 MB / 436.3 MB, free: 6.145 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.3214, allocations: 33.7 kB / 436.3 MB, free: 6.105 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004225/0.3218, allocations: 0.5267 MB / 436.8 MB, free: 5.574 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.3219, allocations: 111.1 kB / 436.9 MB, free: 5.465 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/0.3221, allocations: 122.2 kB / 437.1 MB, free: 5.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002162/0.3223, allocations: 386.8 kB / 437.4 MB, free: 4.953 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/0.3226, allocations: 133.2 kB / 437.6 MB, free: 4.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006451/0.3233, allocations: 442.2 kB / 438 MB, free: 4.246 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009838/0.3243, allocations: 0.6138 MB / 438.6 MB, free: 3.484 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.3243, allocations: 3.938 kB / 438.6 MB, free: 3.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001205/0.3255, allocations: 0.6622 MB / 439.3 MB, free: 2.809 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/0.3256, allocations: 8 kB / 439.3 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.3256, allocations: 15.94 kB / 439.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001864/0.3258, allocations: 36.84 kB / 439.3 MB, free: 2.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004684/0.3263, allocations: 147.7 kB / 439.5 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/0.3275, allocations: 1.394 MB / 440.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004813/0.328, allocations: 44.09 kB / 440.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.366e-05/0.328, allocations: 32 kB / 440.9 MB, free: 0.9961 MB / 350.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.0003325/0.3284, allocations: 241.9 kB / 441.2 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.3285, allocations: 83.47 kB / 441.3 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007285/0.3292, allocations: 333.9 kB / 441.6 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.3292, allocations: 8.031 kB / 441.6 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.3292, allocations: 0 / 441.6 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.3292, allocations: 7.922 kB / 441.6 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/0.331, allocations: 1.115 MB / 442.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.331, allocations: 4 kB / 442.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002831/0.3313, allocations: 59.91 kB / 442.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.125e-05/0.3314, allocations: 25.06 kB / 442.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.3314, allocations: 11.94 kB / 442.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/0.3325, allocations: 1.375 MB / 444.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.3325, allocations: 4 kB / 444.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009892/0.3335, allocations: 0.5723 MB / 444.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002288/0.3337, allocations: 184.5 kB / 444.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.256e-05/0.3338, allocations: 15.98 kB / 445 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003267/0.3342, allocations: 15.98 kB / 445 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.993e-05/0.3342, allocations: 23.97 kB / 445 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.3343, allocations: 8 kB / 445 MB, free: 12.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007058/0.335, allocations: 0.5147 MB / 445.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.335, allocations: 0 / 445.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006709/0.3357, allocations: 179.9 kB / 445.7 MB, free: 11.93 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.0002156/0.3359, allocations: 119.1 kB / 445.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009606/0.3369, allocations: 492.4 kB / 446.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3369, allocations: 192 / 446.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004021/0.3373, allocations: 242.5 kB / 446.5 MB, free: 11.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009119/0.3382, allocations: 194.3 kB / 446.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/0.3405, allocations: 1.487 MB / 448.2 MB, free: 9.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006173/0.3412, allocations: 0.9526 MB / 449.2 MB, free: 8.359 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003081/0.3415, allocations: 94.16 kB / 449.3 MB, free: 8.266 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.3416, allocations: 47.44 kB / 449.3 MB, free: 8.219 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3416, allocations: 4 kB / 449.3 MB, free: 8.215 MB / 366.1 MB Notification: Performance of Templates: time 0.01707/0.3587, allocations: 8.614 MB / 457.9 MB, free: 15.7 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