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.001146/0.001146, allocations: 96.27 kB / 21.44 MB, free: 3.098 MB / 18.57 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.001342/0.001342, allocations: 153.1 kB / 24.69 MB, free: 9.43 MB / 18.57 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 0.8368/0.8368, allocations: 177 MB / 204.9 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.783e-06/1.783e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.403e-05/2.581e-05, allocations: 7.125 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.006085/0.006111, allocations: 7.072 MB / 332.9 MB, free: 8.262 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003075/0.009186, allocations: 2.477 MB / 335.3 MB, free: 5.777 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003719/0.009558, allocations: 27.88 kB / 335.4 MB, free: 5.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008479/0.01041, allocations: 496.8 kB / 335.9 MB, free: 5.262 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000809/0.01121, allocations: 452.4 kB / 336.3 MB, free: 4.816 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.01148, allocations: 219.6 kB / 336.5 MB, free: 4.602 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007978/0.01228, allocations: 1.29 MB / 337.8 MB, free: 3.309 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003941/0.01267, allocations: 338.5 kB / 338.1 MB, free: 2.957 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005929/0.01327, allocations: 0.7482 MB / 338.9 MB, free: 2.207 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003597/0.01363, allocations: 378.8 kB / 339.2 MB, free: 1.836 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.231e-05/0.01372, allocations: 116 kB / 339.4 MB, free: 1.723 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001844/0.0139, allocations: 152 kB / 339.5 MB, free: 1.574 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.01401, allocations: 239.1 kB / 339.7 MB, free: 1.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002521/0.01427, allocations: 395 kB / 340.1 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.01531, allocations: 1.468 MB / 341.6 MB, free: 15.47 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.01531, allocations: 0 / 341.6 MB, free: 15.47 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.01531, allocations: 0 / 341.6 MB, free: 15.47 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.01532, allocations: 7.984 kB / 341.6 MB, free: 15.46 MB / 314.7 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.001435/0.01676, allocations: 1.248 MB / 342.9 MB, free: 14.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.0168, allocations: 11.98 kB / 342.9 MB, free: 14.17 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003915/0.0172, allocations: 176.2 kB / 343 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001/0.0182, allocations: 0.5874 MB / 343.6 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.492e-05/0.01823, allocations: 58.38 kB / 343.7 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.909e-05/0.01831, allocations: 92.36 kB / 343.8 MB, free: 13.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000861/0.01917, allocations: 0.8728 MB / 344.6 MB, free: 12.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.01919, allocations: 3.953 kB / 344.6 MB, free: 12.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.625e-05/0.01924, allocations: 39.98 kB / 344.7 MB, free: 12.28 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.01925, allocations: 20 kB / 344.7 MB, free: 12.26 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006583/0.01991, allocations: 0.5426 MB / 345.2 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002392/0.0223, allocations: 2.928 MB / 348.2 MB, free: 8.609 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003522/0.02265, allocations: 230.7 kB / 348.4 MB, free: 8.375 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.02279, allocations: 108.8 kB / 348.5 MB, free: 8.266 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.02282, allocations: 7.938 kB / 348.5 MB, free: 8.258 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.02284, allocations: 42.5 kB / 348.6 MB, free: 8.207 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 2.064e-06/0.02284, allocations: 0 / 348.6 MB, free: 8.207 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001273/0.02411, allocations: 0.9243 MB / 349.5 MB, free: 7.246 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.02415, allocations: 81.11 kB / 349.6 MB, free: 7.148 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008087/0.02496, allocations: 0.6876 MB / 350.2 MB, free: 6.449 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.02498, allocations: 29.7 kB / 350.3 MB, free: 6.414 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.02521, allocations: 0.5381 MB / 350.8 MB, free: 5.871 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.58e-05/0.02527, allocations: 111 kB / 350.9 MB, free: 5.762 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.02537, allocations: 118.2 kB / 351 MB, free: 5.641 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.02549, allocations: 382.7 kB / 351.4 MB, free: 5.258 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.02566, allocations: 129.2 kB / 351.5 MB, free: 5.133 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002932/0.02595, allocations: 480.1 kB / 352 MB, free: 4.508 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005198/0.02647, allocations: 0.6179 MB / 352.6 MB, free: 3.742 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.02647, allocations: 4 kB / 352.6 MB, free: 3.738 MB / 314.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0006583/0.02713, allocations: 0.6383 MB / 353.3 MB, free: 3.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.02715, allocations: 8 kB / 353.3 MB, free: 3.082 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.02716, allocations: 12 kB / 353.3 MB, free: 3.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001161/0.02727, allocations: 37.53 kB / 353.3 MB, free: 3.031 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.02753, allocations: 151.8 kB / 353.5 MB, free: 2.883 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006636/0.02819, allocations: 1.264 MB / 354.7 MB, free: 1.516 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.02841, allocations: 43.89 kB / 354.8 MB, free: 1.473 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.02844, allocations: 32.16 kB / 354.8 MB, free: 1.441 MB / 314.7 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.0001985/0.02863, allocations: 241.6 kB / 355 MB, free: 1.195 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.89e-05/0.02869, allocations: 71.52 kB / 355.1 MB, free: 1.125 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003882/0.02908, allocations: 333.2 kB / 355.4 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.02908, allocations: 4 kB / 355.4 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.02909, allocations: 0 / 355.4 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.02909, allocations: 4.031 kB / 355.5 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009116/0.03, allocations: 0.9336 MB / 356.4 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.03, allocations: 0 / 356.4 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.03015, allocations: 63.89 kB / 356.4 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.262e-05/0.0302, allocations: 29.06 kB / 356.5 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.03021, allocations: 8 kB / 356.5 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007771/0.03099, allocations: 1.248 MB / 357.7 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.03099, allocations: 4.031 kB / 357.7 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005462/0.03154, allocations: 0.5609 MB / 358.3 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.03166, allocations: 91.48 kB / 358.4 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.78e-05/0.0317, allocations: 8 kB / 358.4 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.03185, allocations: 19.98 kB / 358.4 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.953e-05/0.03191, allocations: 35.83 kB / 358.4 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.03192, allocations: 8 kB / 358.5 MB, free: 13.55 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003584/0.03228, allocations: 463 kB / 358.9 MB, free: 13.11 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03228, allocations: 11.94 kB / 358.9 MB, free: 13.1 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003857/0.03266, allocations: 168 kB / 359.1 MB, free: 12.93 MB / 330.7 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.0001918/0.03285, allocations: 119.1 kB / 359.2 MB, free: 12.8 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005448/0.0334, allocations: 460.7 kB / 359.7 MB, free: 12.34 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.0334, allocations: 4.188 kB / 359.7 MB, free: 12.34 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.0336, allocations: 237.5 kB / 359.9 MB, free: 12.1 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005265/0.03413, allocations: 181.3 kB / 360.1 MB, free: 11.92 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.03559, allocations: 1.408 MB / 361.5 MB, free: 10.46 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.03581, allocations: 361.1 kB / 361.8 MB, free: 10.08 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.5e-05/0.0359, allocations: 52.5 kB / 361.9 MB, free: 10.02 MB / 330.7 MB Notification: Performance of SimCode: time 6.41e-07/0.0359, allocations: 0 / 361.9 MB, free: 10.02 MB / 330.7 MB Notification: Performance of Templates: time 0.01179/0.04769, allocations: 13.99 MB / 375.9 MB, free: 12.05 MB / 346.7 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.082609022967517]