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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001843/0.001843, allocations: 122.5 kB / 18.5 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002129/0.002129, allocations: 215.2 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 230.2 MB / 254.5 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] 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=30000,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=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 72.02 kB / 373.8 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1188, allocations: 53.32 MB / 427.2 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.203/0.3218, allocations: 8.021 MB / 435.2 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003352/0.3252, allocations: 2.648 MB / 437.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004783/0.3256, allocations: 20.78 kB / 437.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.3267, allocations: 0.5303 MB / 438.4 MB, free: 6.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007892/0.3275, allocations: 432.9 kB / 438.8 MB, free: 5.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004318/0.3279, allocations: 220.5 kB / 439 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001126/0.3291, allocations: 1.235 MB / 440.3 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000507/0.3296, allocations: 364.9 kB / 440.6 MB, free: 4.941 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005607/0.3301, allocations: 493.9 kB / 441.1 MB, free: 4.691 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005447/0.3307, allocations: 0.518 MB / 441.6 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001453/0.3308, allocations: 114.8 kB / 441.7 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003048/0.3311, allocations: 158.8 kB / 441.9 MB, free: 4.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.3313, allocations: 237.9 kB / 442.1 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004267/0.3317, allocations: 0.5616 MB / 442.7 MB, free: 3.879 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.3332, allocations: 1.468 MB / 444.1 MB, free: 3.312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3332, allocations: 0.7969 kB / 444.1 MB, free: 3.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3332, allocations: 0 / 444.1 MB, free: 3.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.808e-05/0.3333, allocations: 1.25 kB / 444.1 MB, free: 3.312 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.002171/0.3354, allocations: 1.338 MB / 445.5 MB, free: 2.391 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.3355, allocations: 9.562 kB / 445.5 MB, free: 2.391 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007173/0.3362, allocations: 182.8 kB / 445.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.3372, allocations: 0.6462 MB / 446.3 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.647e-05/0.3372, allocations: 63.59 kB / 446.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.3373, allocations: 88.44 kB / 446.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.3387, allocations: 0.8186 MB / 447.3 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.209e-05/0.3387, allocations: 7.969 kB / 447.3 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.861e-05/0.3388, allocations: 35.91 kB / 447.3 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.548e-05/0.3388, allocations: 20.88 kB / 447.3 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.3399, allocations: 0.5412 MB / 447.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004617/0.3445, allocations: 3.568 MB / 451.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000619/0.3451, allocations: 227 kB / 451.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002852/0.3454, allocations: 115.1 kB / 451.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.701e-05/0.3454, allocations: 3.219 kB / 451.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.3454, allocations: 33.62 kB / 451.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.663e-06/0.3455, allocations: 0 / 451.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002527/0.348, allocations: 1.098 MB / 452.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.2e-05/0.3481, allocations: 89.14 kB / 453 MB, free: 13.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.3491, allocations: 0.7587 MB / 453.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.3492, allocations: 33.05 kB / 453.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004264/0.3496, allocations: 0.5235 MB / 454.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.3497, allocations: 121.6 kB / 454.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.3499, allocations: 121.8 kB / 454.6 MB, free: 12.6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002316/0.3501, allocations: 381.2 kB / 454.9 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003286/0.3504, allocations: 127.6 kB / 455.1 MB, free: 12.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006562/0.3511, allocations: 453.4 kB / 455.5 MB, free: 11.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009827/0.3521, allocations: 0.6129 MB / 456.1 MB, free: 11.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.3521, allocations: 4 kB / 456.1 MB, free: 11.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001202/0.3533, allocations: 0.6483 MB / 456.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.3533, allocations: 9.625 kB / 456.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/0.3533, allocations: 15.55 kB / 456.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001778/0.3535, allocations: 34.83 kB / 456.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004749/0.354, allocations: 153 kB / 457 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.3552, allocations: 1.389 MB / 458.4 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005195/0.3557, allocations: 37.97 kB / 458.4 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.706e-05/0.3558, allocations: 37.92 kB / 458.4 MB, free: 9.441 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.0003177/0.3561, allocations: 242.5 kB / 458.7 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.3562, allocations: 78.92 kB / 458.7 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007205/0.3569, allocations: 331.2 kB / 459.1 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3569, allocations: 3.422 kB / 459.1 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.3569, allocations: 1.375 kB / 459.1 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.3569, allocations: 9.484 kB / 459.1 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001792/0.3587, allocations: 1.114 MB / 460.2 MB, free: 8.371 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.3587, allocations: 6.812 kB / 460.2 MB, free: 8.367 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002912/0.359, allocations: 69.17 kB / 460.3 MB, free: 8.355 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.335e-05/0.3591, allocations: 22.19 kB / 460.3 MB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.3591, allocations: 8.438 kB / 460.3 MB, free: 8.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/0.3602, allocations: 1.375 MB / 461.7 MB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.3602, allocations: 3.688 kB / 461.7 MB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001/0.3612, allocations: 0.5768 MB / 462.3 MB, free: 6.555 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00025/0.3614, allocations: 184.4 kB / 462.4 MB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.132e-05/0.3615, allocations: 8.375 kB / 462.4 MB, free: 6.387 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003558/0.3619, allocations: 21.27 kB / 462.5 MB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.292e-05/0.362, allocations: 26.55 kB / 462.5 MB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.362, allocations: 17 kB / 462.5 MB, free: 6.367 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007931/0.3628, allocations: 0.514 MB / 463 MB, free: 6.133 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3628, allocations: 0 / 463 MB, free: 6.133 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007578/0.3635, allocations: 174.5 kB / 463.2 MB, free: 6.113 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.0002136/0.3638, allocations: 119.5 kB / 463.3 MB, free: 6.008 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009444/0.3647, allocations: 477.4 kB / 463.8 MB, free: 5.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3647, allocations: 0 / 463.8 MB, free: 5.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004035/0.3651, allocations: 235.3 kB / 464 MB, free: 5.562 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000936/0.366, allocations: 189.8 kB / 464.2 MB, free: 5.484 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.3685, allocations: 1.498 MB / 465.7 MB, free: 4.488 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006151/0.3691, allocations: 0.9517 MB / 466.6 MB, free: 3.676 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003075/0.3694, allocations: 94.23 kB / 466.7 MB, free: 3.633 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.3695, allocations: 48.59 kB / 466.8 MB, free: 3.625 MB / 366.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3695, allocations: 4 kB / 466.8 MB, free: 3.621 MB / 366.1 MB Notification: Performance of Templates: time 0.01762/0.3871, allocations: 8.721 MB / 475.5 MB, free: 15.34 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (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) [Timeout 480] 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.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.091257311403751]