Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 108.6 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 193.1 kB / 24.47 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 47.92 kB / 371.7 MB, free: 9.363 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2344, allocations: 52.2 MB / 423.9 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01022/0.2446, allocations: 8.042 MB / 431.9 MB, free: 6.594 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004665/0.2493, allocations: 2.625 MB / 434.6 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007035/0.25, allocations: 23.94 kB / 434.6 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001442/0.2514, allocations: 0.522 MB / 435.1 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001042/0.2525, allocations: 432.8 kB / 435.5 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004985/0.2529, allocations: 231.6 kB / 435.8 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001441/0.2544, allocations: 1.229 MB / 437 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006248/0.255, allocations: 366.5 kB / 437.3 MB, free: 1.148 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006809/0.2557, allocations: 0.4903 MB / 437.8 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007367/0.2564, allocations: 0.5172 MB / 438.4 MB, free: 140 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001517/0.2566, allocations: 112 kB / 438.5 MB, free: 28 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003159/0.2569, allocations: 160 kB / 438.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002058/0.2571, allocations: 235.1 kB / 438.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005667/0.2577, allocations: 0.5715 MB / 439.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001883/0.2596, allocations: 1.459 MB / 440.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2596, allocations: 4 kB / 440.9 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2596, allocations: 0 / 440.9 MB, free: 13.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.699e-05/0.2596, allocations: 0 / 440.9 MB, free: 13.6 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.002437/0.262, allocations: 1.256 MB / 442.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.2621, allocations: 12.03 kB / 442.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005267/0.2626, allocations: 160.1 kB / 442.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.2638, allocations: 0.5687 MB / 442.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.646e-05/0.2639, allocations: 62.38 kB / 442.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.264, allocations: 91.89 kB / 443 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.2654, allocations: 0.8223 MB / 443.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.069e-05/0.2655, allocations: 4 kB / 443.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.679e-05/0.2655, allocations: 32 kB / 443.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.163e-05/0.2656, allocations: 24 kB / 443.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.2667, allocations: 0.5426 MB / 444.4 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004917/0.2716, allocations: 3.468 MB / 447.9 MB, free: 6.234 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005777/0.2722, allocations: 242.5 kB / 448.2 MB, free: 5.988 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002554/0.2724, allocations: 108.8 kB / 448.3 MB, free: 5.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/0.2725, allocations: 8.062 kB / 448.3 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.2725, allocations: 30.56 kB / 448.3 MB, free: 5.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.983e-06/0.2725, allocations: 0 / 448.3 MB, free: 5.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002195/0.2747, allocations: 0.9392 MB / 449.2 MB, free: 4.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.525e-05/0.2748, allocations: 85.05 kB / 449.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.2758, allocations: 0.7625 MB / 450.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.2759, allocations: 29.7 kB / 450.1 MB, free: 3.949 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005103/0.2764, allocations: 0.5306 MB / 450.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.2765, allocations: 115.1 kB / 450.8 MB, free: 3.301 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001807/0.2767, allocations: 122.2 kB / 450.9 MB, free: 3.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.2769, allocations: 382.8 kB / 451.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003166/0.2772, allocations: 125.2 kB / 451.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000559/0.2777, allocations: 450.2 kB / 451.8 MB, free: 2.086 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009186/0.2787, allocations: 0.6141 MB / 452.4 MB, free: 1.324 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.2787, allocations: 4 kB / 452.4 MB, free: 1.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001269/0.2799, allocations: 0.6505 MB / 453.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/0.28, allocations: 8 kB / 453.1 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.28, allocations: 20.03 kB / 453.1 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001611/0.2801, allocations: 32.84 kB / 453.1 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000486/0.2806, allocations: 151.7 kB / 453.3 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.2818, allocations: 1.284 MB / 454.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005743/0.2824, allocations: 35.94 kB / 454.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.418e-05/0.2825, allocations: 40.09 kB / 454.6 MB, free: 14.98 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.0003609/0.2828, allocations: 241.5 kB / 454.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.2829, allocations: 79.48 kB / 455 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007286/0.2837, allocations: 333.9 kB / 455.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.2837, allocations: 4 kB / 455.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.2837, allocations: 7.938 kB / 455.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.924e-06/0.2837, allocations: 3.938 kB / 455.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/0.2855, allocations: 1.088 MB / 456.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.2855, allocations: 0 / 456.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000294/0.2858, allocations: 63.91 kB / 456.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.34e-05/0.2859, allocations: 24.84 kB / 456.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.2859, allocations: 8 kB / 456.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001088/0.287, allocations: 1.271 MB / 457.8 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.287, allocations: 8.094 kB / 457.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.288, allocations: 0.5729 MB / 458.3 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002475/0.2883, allocations: 99.47 kB / 458.4 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.156e-05/0.2883, allocations: 8 kB / 458.4 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000351/0.2887, allocations: 23.97 kB / 458.5 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.042e-05/0.2888, allocations: 27.91 kB / 458.5 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.2888, allocations: 12 kB / 458.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007609/0.2895, allocations: 0.5186 MB / 459 MB, free: 10.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2895, allocations: 4 kB / 459 MB, free: 10.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006999/0.2902, allocations: 167.9 kB / 459.2 MB, free: 10.18 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.0002324/0.2905, allocations: 135.2 kB / 459.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000936/0.2914, allocations: 467.6 kB / 459.8 MB, free: 9.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2914, allocations: 0 / 459.8 MB, free: 9.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004139/0.2918, allocations: 240.2 kB / 460 MB, free: 9.324 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009412/0.2928, allocations: 191.1 kB / 460.2 MB, free: 9.133 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002654/0.2954, allocations: 1.518 MB / 461.7 MB, free: 7.559 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006679/0.2961, allocations: 0.9564 MB / 462.7 MB, free: 6.574 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.2962, allocations: 55.42 kB / 462.7 MB, free: 6.52 MB / 366.1 MB Notification: Performance of SimCode: time 1.122e-06/0.2963, allocations: 0 / 462.7 MB, free: 6.52 MB / 366.1 MB Notification: Performance of Templates: time 0.02066/0.3169, allocations: 13.97 MB / 476.7 MB, free: 8.59 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 8.560165748931468]