Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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.001328/0.001328, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001364/0.001364, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.483/1.483, allocations: 230.6 MB / 258.2 MB, free: 7.785 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+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_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 59.91 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2548, allocations: 53.35 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.01268/0.2675, allocations: 6.369 MB / 438.7 MB, free: 312 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005733/0.2732, allocations: 2.212 MB / 440.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000896/0.2741, allocations: 19.94 kB / 440.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001897/0.276, allocations: 476.7 kB / 441.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001529/0.2775, allocations: 417 kB / 441.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005998/0.2781, allocations: 203.8 kB / 442 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002189/0.2803, allocations: 1.203 MB / 443.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009017/0.2812, allocations: 336.5 kB / 443.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001141/0.2824, allocations: 494 kB / 444 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008602/0.2832, allocations: 489.8 kB / 444.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002203/0.2834, allocations: 116 kB / 444.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004398/0.2839, allocations: 155.9 kB / 444.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002676/0.2841, allocations: 231.2 kB / 445 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006291/0.2848, allocations: 446 kB / 445.4 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002359/0.2871, allocations: 1.451 MB / 446.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.2871, allocations: 0 / 446.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.2871, allocations: 0 / 446.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.718e-05/0.2872, allocations: 0 / 446.9 MB, free: 8.082 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.003196/0.2904, allocations: 1.205 MB / 448.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.2904, allocations: 12.03 kB / 448.1 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00078/0.2912, allocations: 148.2 kB / 448.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001625/0.2928, allocations: 0.5804 MB / 448.8 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.828e-05/0.2929, allocations: 58.38 kB / 448.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002337/0.2931, allocations: 88.31 kB / 449 MB, free: 5.934 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002146/0.2953, allocations: 0.8334 MB / 449.8 MB, free: 5.055 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.861e-05/0.2953, allocations: 0 / 449.8 MB, free: 5.055 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.2954, allocations: 35.94 kB / 449.8 MB, free: 5.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.968e-05/0.2954, allocations: 24 kB / 449.9 MB, free: 4.996 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001623/0.2971, allocations: 0.5192 MB / 450.4 MB, free: 4.477 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006092/0.3032, allocations: 2.916 MB / 453.3 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007287/0.3039, allocations: 218.5 kB / 453.5 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00037/0.3042, allocations: 108.8 kB / 453.6 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.3043, allocations: 4 kB / 453.6 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/0.3043, allocations: 34.56 kB / 453.6 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 2.855e-06/0.3043, allocations: 0 / 453.6 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.002951/0.3073, allocations: 0.9048 MB / 454.5 MB, free: 52 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.94e-05/0.3074, allocations: 85.34 kB / 454.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/0.3088, allocations: 0.6758 MB / 455.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.347e-05/0.3088, allocations: 37.69 kB / 455.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005571/0.3094, allocations: 0.5071 MB / 455.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.3095, allocations: 115.1 kB / 456 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002426/0.3097, allocations: 114.2 kB / 456.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002631/0.31, allocations: 370.8 kB / 456.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004196/0.3104, allocations: 125.2 kB / 456.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008177/0.3112, allocations: 447.8 kB / 457 MB, free: 13.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.3125, allocations: 0.5714 MB / 457.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-06/0.3125, allocations: 4 kB / 457.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001678/0.3141, allocations: 0.6117 MB / 458.2 MB, free: 12.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.813e-05/0.3142, allocations: 12 kB / 458.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/0.3142, allocations: 8 kB / 458.2 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001982/0.3144, allocations: 32.86 kB / 458.2 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00071/0.3151, allocations: 139.7 kB / 458.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/0.3167, allocations: 1.268 MB / 459.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007359/0.3174, allocations: 35.94 kB / 459.7 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.005e-05/0.3175, allocations: 31.98 kB / 459.7 MB, free: 10.45 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (73): * Single equations (assignments): 72 * 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.0005193/0.318, allocations: 241.5 kB / 459.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.3181, allocations: 67.58 kB / 460 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009814/0.3191, allocations: 317 kB / 460.3 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.3191, allocations: 0 / 460.3 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.3191, allocations: 7.938 kB / 460.3 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.3191, allocations: 3.984 kB / 460.3 MB, free: 9.805 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002259/0.3214, allocations: 0.8952 MB / 461.2 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3214, allocations: 4.031 kB / 461.2 MB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004161/0.3218, allocations: 59.89 kB / 461.3 MB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000115/0.3219, allocations: 20.86 kB / 461.3 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.523e-05/0.322, allocations: 15.92 kB / 461.3 MB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001483/0.3235, allocations: 1.245 MB / 462.6 MB, free: 7.391 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.3235, allocations: 3.938 kB / 462.6 MB, free: 7.387 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/0.3248, allocations: 0.5453 MB / 463.1 MB, free: 6.801 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000318/0.3252, allocations: 91.52 kB / 463.2 MB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.3253, allocations: 8 kB / 463.2 MB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005183/0.3258, allocations: 20.05 kB / 463.2 MB, free: 6.684 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.21e-05/0.3259, allocations: 31.89 kB / 463.3 MB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.3259, allocations: 7.938 kB / 463.3 MB, free: 6.645 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009415/0.3269, allocations: 467 kB / 463.7 MB, free: 6.191 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3269, allocations: 0 / 463.7 MB, free: 6.191 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001169/0.328, allocations: 159.9 kB / 463.9 MB, free: 6.035 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 (27): * Single equations (assignments): 26 * 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.0003259/0.3284, allocations: 125.8 kB / 464 MB, free: 5.906 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001335/0.3297, allocations: 459.4 kB / 464.5 MB, free: 5.449 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3297, allocations: 0 / 464.5 MB, free: 5.449 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005491/0.3302, allocations: 235.8 kB / 464.7 MB, free: 5.207 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/0.3316, allocations: 176.5 kB / 464.9 MB, free: 5.043 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003397/0.335, allocations: 1.427 MB / 466.3 MB, free: 3.562 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005408/0.3355, allocations: 352.5 kB / 466.6 MB, free: 3.191 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004261/0.3359, allocations: 81.47 kB / 466.7 MB, free: 3.109 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.3361, allocations: 43.44 kB / 466.8 MB, free: 3.066 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3361, allocations: 0 / 466.8 MB, free: 3.066 MB / 366.1 MB Notification: Performance of Templates: time 0.02015/0.3562, allocations: 9.334 MB / 476.1 MB, free: 9.918 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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.7128578730043955]