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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.005413/0.005413, allocations: 109.9 kB / 21.98 MB, free: 5.199 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.00148/0.00148, allocations: 216.4 kB / 25.29 MB, free: 3.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.426/1.426, allocations: 230.6 MB / 259 MB, free: 8.039 MB / 206.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-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] "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.002088/0.002088, allocations: 63.88 kB / 379.8 MB, free: 2.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2572, allocations: 53.36 MB / 433.2 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01038/0.2675, allocations: 8.048 MB / 441.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004914/0.2724, allocations: 2.676 MB / 443.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.2735, allocations: 23.94 kB / 443.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001571/0.275, allocations: 0.5204 MB / 444.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001195/0.2762, allocations: 436.7 kB / 444.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005379/0.2768, allocations: 223.6 kB / 445.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001554/0.2783, allocations: 1.241 MB / 446.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006131/0.2789, allocations: 374.2 kB / 446.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007256/0.2797, allocations: 0.4903 MB / 447.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006814/0.2803, allocations: 0.5211 MB / 447.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.2805, allocations: 116 kB / 447.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003084/0.2808, allocations: 156 kB / 448 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001849/0.281, allocations: 231.2 kB / 448.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005369/0.2815, allocations: 0.5676 MB / 448.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00173/0.2832, allocations: 1.472 MB / 450.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2833, allocations: 0 / 450.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.2833, allocations: 0 / 450.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.602e-05/0.2833, allocations: 0 / 450.2 MB, free: 5.828 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.002302/0.2856, allocations: 1.26 MB / 451.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.2856, allocations: 8.031 kB / 451.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000747/0.2864, allocations: 184.2 kB / 451.7 MB, free: 4.348 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.2875, allocations: 0.5725 MB / 452.3 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.112e-05/0.2875, allocations: 66.38 kB / 452.3 MB, free: 3.684 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.2877, allocations: 91.92 kB / 452.4 MB, free: 3.594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.2891, allocations: 0.8145 MB / 453.2 MB, free: 2.746 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.499e-05/0.2891, allocations: 11.95 kB / 453.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.779e-05/0.2892, allocations: 36 kB / 453.3 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/0.2892, allocations: 20 kB / 453.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.2903, allocations: 0.5426 MB / 453.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004478/0.2948, allocations: 3.457 MB / 457.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005481/0.2953, allocations: 233.8 kB / 457.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002487/0.2956, allocations: 108.8 kB / 457.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.658e-05/0.2956, allocations: 4 kB / 457.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.2956, allocations: 34.56 kB / 457.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 2.394e-06/0.2956, allocations: 4 kB / 457.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002155/0.2978, allocations: 0.9444 MB / 458.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.137e-05/0.2979, allocations: 85.05 kB / 458.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.2989, allocations: 0.7624 MB / 459.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.2989, allocations: 29.7 kB / 459.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004354/0.2994, allocations: 0.5267 MB / 460 MB, free: 11.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.665e-05/0.2995, allocations: 111.1 kB / 460.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/0.2997, allocations: 122.2 kB / 460.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002316/0.2999, allocations: 382.8 kB / 460.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002951/0.3002, allocations: 133.2 kB / 460.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005351/0.3007, allocations: 450.1 kB / 461.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009037/0.3016, allocations: 0.6138 MB / 461.8 MB, free: 9.539 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.3016, allocations: 4 kB / 461.8 MB, free: 9.535 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001189/0.3028, allocations: 0.6546 MB / 462.5 MB, free: 8.871 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.3028, allocations: 8 kB / 462.5 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/0.3029, allocations: 15.94 kB / 462.5 MB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001683/0.303, allocations: 32.84 kB / 462.5 MB, free: 8.812 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004689/0.3035, allocations: 151.7 kB / 462.7 MB, free: 8.664 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001136/0.3046, allocations: 1.295 MB / 464 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005375/0.3052, allocations: 44.09 kB / 464 MB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-05/0.3052, allocations: 32 kB / 464 MB, free: 7.18 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.0003826/0.3056, allocations: 241.5 kB / 464.3 MB, free: 6.934 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.3057, allocations: 79.48 kB / 464.3 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007239/0.3065, allocations: 337.9 kB / 464.7 MB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/0.3065, allocations: 4 kB / 464.7 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.3065, allocations: 3.938 kB / 464.7 MB, free: 6.504 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.3065, allocations: 3.938 kB / 464.7 MB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.3083, allocations: 1.086 MB / 465.8 MB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.3083, allocations: 0 / 465.8 MB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002896/0.3086, allocations: 63.89 kB / 465.8 MB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.75e-05/0.3087, allocations: 25.08 kB / 465.9 MB, free: 5.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.3087, allocations: 8 kB / 465.9 MB, free: 5.242 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001068/0.3098, allocations: 1.275 MB / 467.1 MB, free: 3.852 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3098, allocations: 0 / 467.1 MB, free: 3.852 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.3108, allocations: 0.578 MB / 467.7 MB, free: 3.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002557/0.311, allocations: 103.4 kB / 467.8 MB, free: 3.129 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.943e-05/0.3111, allocations: 8 kB / 467.8 MB, free: 3.121 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003474/0.3115, allocations: 31.97 kB / 467.9 MB, free: 3.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.125e-05/0.3116, allocations: 23.91 kB / 467.9 MB, free: 3.066 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.3116, allocations: 12.08 kB / 467.9 MB, free: 3.055 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007584/0.3123, allocations: 0.5186 MB / 468.4 MB, free: 2.543 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3123, allocations: 0 / 468.4 MB, free: 2.543 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007298/0.3131, allocations: 175.9 kB / 468.6 MB, free: 2.371 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.0002305/0.3133, allocations: 127.1 kB / 468.7 MB, free: 2.238 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000967/0.3143, allocations: 465 kB / 469.2 MB, free: 1.773 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.3143, allocations: 0.6875 kB / 469.2 MB, free: 1.773 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003883/0.3147, allocations: 238.5 kB / 469.4 MB, free: 1.527 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000887/0.3155, allocations: 195.8 kB / 469.6 MB, free: 1.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002648/0.3182, allocations: 1.519 MB / 471.1 MB, free: 15.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006171/0.3188, allocations: 0.9526 MB / 472.1 MB, free: 14.78 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.3189, allocations: 55.42 kB / 472.1 MB, free: 14.73 MB / 382.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3189, allocations: 0 / 472.1 MB, free: 14.73 MB / 382.1 MB Notification: Performance of Templates: time 0.0211/0.34, allocations: 13.98 MB / 486.1 MB, free: 0.7773 MB / 382.1 MB " [Timeout remaining time 660] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.55645516095683]