Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001995/0.001995, allocations: 83.92 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002238/0.002238, allocations: 163.2 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.422/1.422, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.966e-05/3.16e-05, allocations: 2.281 kB / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009606/0.009638, allocations: 7.083 MB / 332.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004762/0.0144, allocations: 2.485 MB / 334.6 MB, free: 9.852 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005772/0.01498, allocations: 26.75 kB / 334.7 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.01625, allocations: 495.5 kB / 335.1 MB, free: 9.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001321/0.01757, allocations: 452.7 kB / 335.6 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005594/0.01813, allocations: 214.8 kB / 335.8 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001588/0.01972, allocations: 1.296 MB / 337.1 MB, free: 8.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006215/0.02034, allocations: 339.4 kB / 337.4 MB, free: 7.855 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/0.02142, allocations: 0.742 MB / 338.2 MB, free: 7.371 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005773/0.02199, allocations: 380.2 kB / 338.5 MB, free: 7.148 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001397/0.02213, allocations: 118 kB / 338.7 MB, free: 7.145 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003376/0.02247, allocations: 154.2 kB / 338.8 MB, free: 7.129 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002168/0.02269, allocations: 244.8 kB / 339 MB, free: 6.914 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004706/0.02316, allocations: 390.5 kB / 339.4 MB, free: 6.707 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001749/0.02491, allocations: 1.465 MB / 340.9 MB, free: 5.266 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.02492, allocations: 8 kB / 340.9 MB, free: 5.258 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.02492, allocations: 0 / 340.9 MB, free: 5.258 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.02493, allocations: 0 / 340.9 MB, free: 5.258 MB / 302.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.00244/0.02737, allocations: 1.24 MB / 342.1 MB, free: 3.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.02741, allocations: 8.031 kB / 342.1 MB, free: 3.973 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007483/0.02816, allocations: 184.2 kB / 342.3 MB, free: 3.793 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.02923, allocations: 0.5795 MB / 342.9 MB, free: 3.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.673e-05/0.0293, allocations: 70.38 kB / 343 MB, free: 3.109 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.02943, allocations: 84.38 kB / 343.1 MB, free: 3.027 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.03097, allocations: 0.8689 MB / 343.9 MB, free: 2.117 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.218e-05/0.031, allocations: 7.953 kB / 343.9 MB, free: 2.109 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.527e-05/0.03108, allocations: 32 kB / 344 MB, free: 2.078 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.99e-05/0.0311, allocations: 24 kB / 344 MB, free: 2.055 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.03226, allocations: 0.5426 MB / 344.5 MB, free: 1.512 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004339/0.0366, allocations: 2.932 MB / 347.5 MB, free: 14.4 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005712/0.03717, allocations: 230.6 kB / 347.7 MB, free: 14.17 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/0.03744, allocations: 112.8 kB / 347.8 MB, free: 14.05 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.339e-05/0.03747, allocations: 3.938 kB / 347.8 MB, free: 14.05 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.0375, allocations: 42.56 kB / 347.8 MB, free: 14 MB / 318.1 MB Notification: Performance of pre-optimization done (n=26): time 1.583e-06/0.0375, allocations: 0 / 347.8 MB, free: 14 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.002178/0.03968, allocations: 0.9262 MB / 348.8 MB, free: 13.04 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.843e-05/0.03975, allocations: 85.11 kB / 348.9 MB, free: 12.94 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009396/0.04069, allocations: 0.6876 MB / 349.5 MB, free: 12.24 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.04072, allocations: 33.7 kB / 349.6 MB, free: 12.2 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004157/0.04114, allocations: 0.5342 MB / 350.1 MB, free: 11.66 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.906e-05/0.04124, allocations: 115 kB / 350.2 MB, free: 11.55 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/0.04141, allocations: 122.2 kB / 350.3 MB, free: 11.42 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.0416, allocations: 374.7 kB / 350.7 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003124/0.04192, allocations: 133.2 kB / 350.8 MB, free: 10.92 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005716/0.04249, allocations: 476.1 kB / 351.3 MB, free: 10.3 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009279/0.04342, allocations: 0.6176 MB / 351.9 MB, free: 9.531 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.345e-06/0.04342, allocations: 8 kB / 351.9 MB, free: 9.523 MB / 318.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001201/0.04463, allocations: 0.639 MB / 352.6 MB, free: 8.875 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.04465, allocations: 12 kB / 352.6 MB, free: 8.863 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.04466, allocations: 8 kB / 352.6 MB, free: 8.855 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001596/0.04482, allocations: 36.84 kB / 352.6 MB, free: 8.816 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004867/0.04531, allocations: 151.7 kB / 352.8 MB, free: 8.668 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/0.04642, allocations: 1.26 MB / 354 MB, free: 7.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004626/0.04689, allocations: 47.89 kB / 354.1 MB, free: 7.258 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-05/0.04694, allocations: 32 kB / 354.1 MB, free: 7.227 MB / 318.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.000328/0.04726, allocations: 240.7 kB / 354.3 MB, free: 6.984 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.04737, allocations: 75.59 kB / 354.4 MB, free: 6.91 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007221/0.04809, allocations: 329 kB / 354.7 MB, free: 6.574 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.0481, allocations: 4 kB / 354.7 MB, free: 6.57 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.0481, allocations: 0 / 354.7 MB, free: 6.57 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.04811, allocations: 4 kB / 354.7 MB, free: 6.566 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/0.04972, allocations: 0.9296 MB / 355.7 MB, free: 5.574 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.04973, allocations: 4 kB / 355.7 MB, free: 5.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000301/0.05003, allocations: 59.91 kB / 355.7 MB, free: 5.512 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.447e-05/0.05011, allocations: 24.84 kB / 355.8 MB, free: 5.484 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.05014, allocations: 8 kB / 355.8 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/0.05117, allocations: 1.26 MB / 357 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.05117, allocations: 0 / 357 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.05218, allocations: 0.5529 MB / 357.6 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000192/0.05238, allocations: 95.69 kB / 357.7 MB, free: 3.422 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.032e-05/0.05246, allocations: 12 kB / 357.7 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003446/0.0528, allocations: 23.92 kB / 357.7 MB, free: 3.387 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.708e-05/0.05288, allocations: 31.83 kB / 357.7 MB, free: 3.355 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.0529, allocations: 8 kB / 357.8 MB, free: 3.348 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00063/0.05353, allocations: 467 kB / 358.2 MB, free: 2.898 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.05353, allocations: 0 / 358.2 MB, free: 2.898 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006653/0.0542, allocations: 164 kB / 358.4 MB, free: 2.738 MB / 318.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.000215/0.05441, allocations: 130.5 kB / 358.5 MB, free: 2.602 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009464/0.05536, allocations: 460.3 kB / 358.9 MB, free: 2.141 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.05536, allocations: 4 kB / 358.9 MB, free: 2.137 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004218/0.05578, allocations: 244.2 kB / 359.2 MB, free: 1.887 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009529/0.05674, allocations: 178.9 kB / 359.4 MB, free: 1.711 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.05902, allocations: 1.371 MB / 360.7 MB, free: 292 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.05942, allocations: 365 kB / 361.1 MB, free: 15.9 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002897/0.05971, allocations: 89.53 kB / 361.2 MB, free: 15.81 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.05983, allocations: 48.5 kB / 361.2 MB, free: 15.76 MB / 334.1 MB Notification: Performance of SimCode: time 8.42e-07/0.05983, allocations: 0 / 361.2 MB, free: 15.76 MB / 334.1 MB Notification: Performance of Templates: time 0.0173/0.07713, allocations: 8.225 MB / 369.5 MB, free: 7.715 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.708276066929102]