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.001293/0.001293, allocations: 111.4 kB / 21.17 MB, free: 0.7734 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.001413/0.001413, allocations: 209.4 kB / 24.47 MB, free: 4.379 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.382/1.382, allocations: 230.4 MB / 258.1 MB, free: 8.16 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.001904/0.001904, allocations: 67.83 kB / 378.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2457, allocations: 53.31 MB / 432.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01016/0.2559, allocations: 8.049 MB / 440.1 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00508/0.2609, allocations: 2.664 MB / 442.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009773/0.2619, allocations: 23.94 kB / 442.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00153/0.2634, allocations: 0.5142 MB / 443.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001394/0.2648, allocations: 436.8 kB / 443.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006313/0.2655, allocations: 227.5 kB / 444 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001762/0.2672, allocations: 1.237 MB / 445.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007035/0.2679, allocations: 366.1 kB / 445.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008054/0.2687, allocations: 498 kB / 446 MB, free: 9.312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007481/0.2695, allocations: 0.5173 MB / 446.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001686/0.2697, allocations: 112 kB / 446.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003233/0.27, allocations: 160 kB / 446.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001923/0.2702, allocations: 235.1 kB / 447 MB, free: 8.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005683/0.2707, allocations: 0.5677 MB / 447.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001796/0.2725, allocations: 1.475 MB / 449.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.2725, allocations: 0 / 449.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2725, allocations: 0 / 449.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.948e-05/0.2726, allocations: 0 / 449.1 MB, free: 6.246 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.002346/0.2749, allocations: 1.327 MB / 450.4 MB, free: 4.867 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.2749, allocations: 12.03 kB / 450.4 MB, free: 4.855 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007241/0.2757, allocations: 180.2 kB / 450.6 MB, free: 4.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.2768, allocations: 0.6498 MB / 451.3 MB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.117e-05/0.2768, allocations: 66.31 kB / 451.3 MB, free: 3.922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.277, allocations: 87.94 kB / 451.4 MB, free: 3.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.2784, allocations: 0.8223 MB / 452.2 MB, free: 2.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.809e-05/0.2784, allocations: 11.94 kB / 452.2 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.834e-05/0.2785, allocations: 32 kB / 452.3 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/0.2785, allocations: 20 kB / 452.3 MB, free: 2.918 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.2797, allocations: 0.5504 MB / 452.8 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004828/0.2845, allocations: 3.556 MB / 456.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000552/0.285, allocations: 230.7 kB / 456.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002507/0.2853, allocations: 108.8 kB / 456.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.2853, allocations: 4 kB / 456.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.2853, allocations: 34.56 kB / 456.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 2.064e-06/0.2853, allocations: 0 / 456.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002299/0.2876, allocations: 1.099 MB / 457.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/0.2877, allocations: 85.05 kB / 457.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.2887, allocations: 0.7547 MB / 458.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.2888, allocations: 33.7 kB / 458.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004161/0.2892, allocations: 0.5306 MB / 459.3 MB, free: 11.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.338e-05/0.2893, allocations: 115 kB / 459.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001737/0.2894, allocations: 126.2 kB / 459.5 MB, free: 11.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.2896, allocations: 378.8 kB / 459.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003007/0.2899, allocations: 129.2 kB / 460 MB, free: 10.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005752/0.2905, allocations: 450.2 kB / 460.4 MB, free: 10.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009327/0.2914, allocations: 0.6177 MB / 461.1 MB, free: 9.473 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.2914, allocations: 4 kB / 461.1 MB, free: 9.469 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001222/0.2927, allocations: 0.6547 MB / 461.7 MB, free: 8.805 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.2927, allocations: 8 kB / 461.7 MB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/0.2927, allocations: 16 kB / 461.7 MB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001601/0.2929, allocations: 32.84 kB / 461.8 MB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004838/0.2934, allocations: 155.8 kB / 461.9 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/0.2946, allocations: 1.386 MB / 463.3 MB, free: 7.066 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005148/0.2951, allocations: 43.92 kB / 463.4 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.693e-05/0.2951, allocations: 32.09 kB / 463.4 MB, free: 6.992 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.0004043/0.2955, allocations: 245.5 kB / 463.6 MB, free: 6.742 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.2957, allocations: 79.48 kB / 463.7 MB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007179/0.2964, allocations: 333.9 kB / 464 MB, free: 6.324 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2964, allocations: 0 / 464 MB, free: 6.324 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.2964, allocations: 4 kB / 464 MB, free: 6.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.2964, allocations: 7.938 kB / 464 MB, free: 6.312 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001795/0.2982, allocations: 1.11 MB / 465.1 MB, free: 5.121 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.2982, allocations: 0 / 465.1 MB, free: 5.121 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002992/0.2985, allocations: 71.83 kB / 465.2 MB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.714e-05/0.2986, allocations: 20.84 kB / 465.2 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.2986, allocations: 8 kB / 465.2 MB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001146/0.2997, allocations: 1.372 MB / 466.6 MB, free: 3.508 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.135e-05/0.2998, allocations: 8.125 kB / 466.6 MB, free: 3.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.3008, allocations: 0.58 MB / 467.2 MB, free: 2.875 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002926/0.3011, allocations: 188.5 kB / 467.4 MB, free: 2.672 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.619e-05/0.3012, allocations: 12 kB / 467.4 MB, free: 2.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003405/0.3015, allocations: 19.98 kB / 467.4 MB, free: 2.641 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.988e-05/0.3016, allocations: 27.97 kB / 467.4 MB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.3016, allocations: 4 kB / 467.5 MB, free: 2.609 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007754/0.3024, allocations: 0.5186 MB / 468 MB, free: 2.098 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3024, allocations: 4 kB / 468 MB, free: 2.094 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007822/0.3032, allocations: 171.9 kB / 468.1 MB, free: 1.926 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.0002466/0.3034, allocations: 123.1 kB / 468.3 MB, free: 1.797 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009977/0.3044, allocations: 476.6 kB / 468.7 MB, free: 1.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3044, allocations: 3.938 kB / 468.7 MB, free: 1.316 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000392/0.3048, allocations: 238 kB / 469 MB, free: 1.074 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009409/0.3057, allocations: 181.1 kB / 469.1 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002672/0.3084, allocations: 1.533 MB / 470.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006749/0.3091, allocations: 0.9526 MB / 471.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.3092, allocations: 51.44 kB / 471.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3092, allocations: 0 / 471.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of Templates: time 0.02062/0.3299, allocations: 13.99 MB / 485.7 MB, free: 328 kB / 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_2/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_2/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.234351135790348]