Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001827/0.001827, allocations: 112.2 kB / 20.43 MB, free: 1.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002156/0.002156, allocations: 181.6 kB / 23.71 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002374/0.002374, allocations: 43.92 kB / 370.9 MB, free: 9.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2856, allocations: 52.19 MB / 423.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01039/0.2959, allocations: 8.038 MB / 431.2 MB, free: 6.578 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005553/0.3015, allocations: 2.629 MB / 433.8 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.3026, allocations: 23.94 kB / 433.8 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001571/0.3041, allocations: 0.522 MB / 434.3 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001131/0.3053, allocations: 432.8 kB / 434.8 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004685/0.3057, allocations: 215.6 kB / 435 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001302/0.307, allocations: 1.24 MB / 436.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005894/0.3076, allocations: 366.5 kB / 436.6 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005805/0.3082, allocations: 0.4941 MB / 437.1 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000609/0.3088, allocations: 0.5095 MB / 437.6 MB, free: 132 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001538/0.309, allocations: 116 kB / 437.7 MB, free: 16 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003193/0.3093, allocations: 160 kB / 437.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001985/0.3095, allocations: 239.1 kB / 438.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005354/0.31, allocations: 0.5715 MB / 438.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001649/0.3117, allocations: 1.459 MB / 440.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3117, allocations: 0 / 440.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3117, allocations: 0 / 440.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.3117, allocations: 0 / 440.1 MB, free: 13.59 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.002301/0.314, allocations: 1.256 MB / 441.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.314, allocations: 12.03 kB / 441.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005187/0.3145, allocations: 160.1 kB / 441.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.3156, allocations: 0.5842 MB / 442.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.321e-05/0.3157, allocations: 62.38 kB / 442.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.3158, allocations: 91.89 kB / 442.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.3173, allocations: 0.8184 MB / 443.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.3173, allocations: 0 / 443.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.149e-05/0.3174, allocations: 36 kB / 443.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.3174, allocations: 27.94 kB / 443.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.3186, allocations: 0.5426 MB / 443.7 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0045/0.3231, allocations: 3.461 MB / 447.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000558/0.3236, allocations: 241.8 kB / 447.4 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002612/0.3239, allocations: 108.8 kB / 447.5 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.3239, allocations: 8 kB / 447.5 MB, free: 5.855 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.3239, allocations: 30.56 kB / 447.5 MB, free: 5.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.352e-06/0.3239, allocations: 0 / 447.5 MB, free: 5.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002189/0.3261, allocations: 0.9355 MB / 448.5 MB, free: 4.844 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.818e-05/0.3262, allocations: 85.05 kB / 448.6 MB, free: 4.742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.3273, allocations: 0.7625 MB / 449.3 MB, free: 3.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.3273, allocations: 29.7 kB / 449.3 MB, free: 3.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004115/0.3277, allocations: 0.5306 MB / 449.9 MB, free: 3.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.3278, allocations: 115.1 kB / 450 MB, free: 3.289 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/0.328, allocations: 118.2 kB / 450.1 MB, free: 3.168 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002258/0.3282, allocations: 378.8 kB / 450.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003712/0.3286, allocations: 133.2 kB / 450.6 MB, free: 2.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005966/0.3292, allocations: 450.2 kB / 451 MB, free: 2.074 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009571/0.3302, allocations: 0.6179 MB / 451.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.3302, allocations: 4 kB / 451.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001216/0.3314, allocations: 0.6466 MB / 452.3 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.3314, allocations: 12.12 kB / 452.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.3314, allocations: 19.94 kB / 452.3 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001629/0.3316, allocations: 36.84 kB / 452.4 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005027/0.3321, allocations: 151.7 kB / 452.5 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001192/0.3333, allocations: 1.284 MB / 453.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005002/0.3338, allocations: 36.03 kB / 453.8 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-05/0.3338, allocations: 36 kB / 453.9 MB, free: 14.96 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.0003531/0.3342, allocations: 245.5 kB / 454.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.3343, allocations: 79.48 kB / 454.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007601/0.3351, allocations: 337.9 kB / 454.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3351, allocations: 4 kB / 454.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.696e-06/0.3351, allocations: 0 / 454.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.3351, allocations: 11.92 kB / 454.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001908/0.337, allocations: 1.077 MB / 455.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.337, allocations: 0 / 455.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003131/0.3373, allocations: 67.89 kB / 455.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.026e-05/0.3374, allocations: 20.86 kB / 455.7 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.3374, allocations: 11.98 kB / 455.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001082/0.3385, allocations: 1.264 MB / 457 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3385, allocations: 8.094 kB / 457 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.3395, allocations: 0.5768 MB / 457.6 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002222/0.3397, allocations: 103.6 kB / 457.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.908e-05/0.3398, allocations: 11.98 kB / 457.7 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003669/0.3402, allocations: 27.97 kB / 457.7 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.093e-05/0.3403, allocations: 27.89 kB / 457.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.3403, allocations: 12 kB / 457.7 MB, free: 10.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007197/0.341, allocations: 0.5147 MB / 458.3 MB, free: 10.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.341, allocations: 0 / 458.3 MB, free: 10.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006755/0.3417, allocations: 171.9 kB / 458.4 MB, free: 10.16 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.0001952/0.3419, allocations: 127.8 kB / 458.6 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009864/0.3429, allocations: 471.5 kB / 459 MB, free: 9.551 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.3429, allocations: 0 / 459 MB, free: 9.551 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004264/0.3433, allocations: 238.1 kB / 459.2 MB, free: 9.309 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009771/0.3443, allocations: 187.1 kB / 459.4 MB, free: 9.121 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002483/0.3468, allocations: 1.494 MB / 460.9 MB, free: 7.574 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006422/0.3474, allocations: 0.9525 MB / 461.9 MB, free: 6.594 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003127/0.3477, allocations: 94.17 kB / 462 MB, free: 6.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.3479, allocations: 55.42 kB / 462 MB, free: 6.445 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3479, allocations: 0 / 462 MB, free: 6.445 MB / 366.1 MB Notification: Performance of Templates: time 0.01938/0.3672, allocations: 8.997 MB / 471 MB, free: 13.56 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.96388200763613]