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.001376/0.001376, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001497/0.001497, allocations: 203.7 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.471/1.471, allocations: 230.5 MB / 257.4 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001984/0.001984, allocations: 71.89 kB / 378.2 MB, free: 2.273 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2448, allocations: 53.39 MB / 431.6 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01015/0.255, allocations: 7.075 MB / 438.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00494/0.2599, allocations: 2.481 MB / 441.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007053/0.2606, allocations: 23.94 kB / 441.2 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001406/0.262, allocations: 483.7 kB / 441.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001081/0.2631, allocations: 436.7 kB / 442.1 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005192/0.2636, allocations: 215.7 kB / 442.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001517/0.2651, allocations: 1.237 MB / 443.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006342/0.2658, allocations: 346.5 kB / 443.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007971/0.2666, allocations: 0.4903 MB / 444.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006604/0.2672, allocations: 461.6 kB / 444.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.2674, allocations: 112 kB / 444.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003308/0.2677, allocations: 156 kB / 445.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002078/0.2679, allocations: 235.2 kB / 445.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004901/0.2684, allocations: 473.8 kB / 445.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001723/0.2701, allocations: 1.482 MB / 447.3 MB, free: 6.793 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.2701, allocations: 0 / 447.3 MB, free: 6.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2701, allocations: 0 / 447.3 MB, free: 6.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.2701, allocations: 0 / 447.3 MB, free: 6.793 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.002382/0.2725, allocations: 1.252 MB / 448.5 MB, free: 5.508 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.2726, allocations: 19.97 kB / 448.5 MB, free: 5.488 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007362/0.2733, allocations: 180.2 kB / 448.7 MB, free: 5.312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.2745, allocations: 0.5803 MB / 449.3 MB, free: 4.699 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.078e-05/0.2745, allocations: 62.38 kB / 449.4 MB, free: 4.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.2747, allocations: 91.88 kB / 449.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.2762, allocations: 0.8686 MB / 450.3 MB, free: 3.637 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.488e-05/0.2762, allocations: 7.938 kB / 450.3 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.305e-05/0.2763, allocations: 36 kB / 450.4 MB, free: 3.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/0.2763, allocations: 20 kB / 450.4 MB, free: 3.574 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.2775, allocations: 0.5426 MB / 450.9 MB, free: 3.035 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004402/0.2819, allocations: 2.941 MB / 453.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000562/0.2824, allocations: 222.6 kB / 454.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002588/0.2827, allocations: 113.5 kB / 454.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.2827, allocations: 8 kB / 454.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.2828, allocations: 34.56 kB / 454.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 2.515e-06/0.2828, allocations: 0 / 454.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002155/0.2849, allocations: 0.9263 MB / 455.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.285, allocations: 81.11 kB / 455.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009287/0.2859, allocations: 0.6915 MB / 455.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.286, allocations: 33.69 kB / 456 MB, free: 13.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004054/0.2864, allocations: 0.542 MB / 456.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.704e-05/0.2865, allocations: 111 kB / 456.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.2866, allocations: 126.2 kB / 456.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002189/0.2868, allocations: 370.8 kB / 457.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002983/0.2871, allocations: 129.2 kB / 457.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005868/0.2877, allocations: 479.9 kB / 457.7 MB, free: 11.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008845/0.2886, allocations: 0.6138 MB / 458.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.2886, allocations: 8 kB / 458.3 MB, free: 11.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001198/0.2898, allocations: 0.6389 MB / 459 MB, free: 10.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.2898, allocations: 8 kB / 459 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.2899, allocations: 12 kB / 459 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001859/0.29, allocations: 44.72 kB / 459 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004884/0.2905, allocations: 147.7 kB / 459.2 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.2918, allocations: 1.264 MB / 460.4 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004727/0.2922, allocations: 43.89 kB / 460.5 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.4e-05/0.2923, allocations: 32 kB / 460.5 MB, free: 8.742 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.0003592/0.2927, allocations: 249.2 kB / 460.7 MB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.2928, allocations: 75.58 kB / 460.8 MB, free: 8.418 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006837/0.2934, allocations: 321 kB / 461.1 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.2934, allocations: 4 kB / 461.1 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.2934, allocations: 0 / 461.1 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.2935, allocations: 3.984 kB / 461.1 MB, free: 8.086 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00158/0.295, allocations: 0.9298 MB / 462.1 MB, free: 7.094 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.295, allocations: 4 kB / 462.1 MB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002897/0.2953, allocations: 59.84 kB / 462.1 MB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.123e-05/0.2954, allocations: 24.84 kB / 462.2 MB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.2954, allocations: 8 kB / 462.2 MB, free: 6.996 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00106/0.2965, allocations: 1.249 MB / 463.4 MB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2965, allocations: 0 / 463.4 MB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009743/0.2975, allocations: 0.5646 MB / 464 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00023/0.2977, allocations: 95.53 kB / 464.1 MB, free: 4.941 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.427e-05/0.2978, allocations: 8 kB / 464.1 MB, free: 4.934 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003222/0.2981, allocations: 23.97 kB / 464.1 MB, free: 4.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.416e-05/0.2982, allocations: 31.78 kB / 464.1 MB, free: 4.879 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.2982, allocations: 12 kB / 464.1 MB, free: 4.867 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006654/0.2989, allocations: 463 kB / 464.6 MB, free: 4.418 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2989, allocations: 0 / 464.6 MB, free: 4.418 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007539/0.2996, allocations: 172 kB / 464.8 MB, free: 4.25 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.0002295/0.2998, allocations: 119.1 kB / 464.9 MB, free: 4.125 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009531/0.3008, allocations: 473.5 kB / 465.3 MB, free: 3.652 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3008, allocations: 0 / 465.3 MB, free: 3.652 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003995/0.3012, allocations: 239.1 kB / 465.6 MB, free: 3.406 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008799/0.3021, allocations: 181 kB / 465.8 MB, free: 3.234 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002633/0.3047, allocations: 1.482 MB / 467.2 MB, free: 1.699 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.3051, allocations: 361.1 kB / 467.6 MB, free: 1.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003191/0.3054, allocations: 93.48 kB / 467.7 MB, free: 1.227 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.3055, allocations: 47.38 kB / 467.7 MB, free: 1.18 MB / 366.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3055, allocations: 0 / 467.7 MB, free: 1.18 MB / 366.1 MB Notification: Performance of Templates: time 0.01823/0.3238, allocations: 9.495 MB / 477.2 MB, free: 7.855 MB / 382.1 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: 4.898496497422457]