Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.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.001866/0.001866, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002268/0.002268, allocations: 213.3 kB / 24.54 MB, free: 4.016 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.47/1.47, allocations: 230.3 MB / 258 MB, free: 8.234 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.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002831/0.002831, allocations: 64.12 kB / 378.8 MB, free: 2.758 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2562, allocations: 53.37 MB / 432.1 MB, free: 7.051 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01033/0.2666, allocations: 8.172 MB / 440.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004681/0.2712, allocations: 2.677 MB / 443 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009654/0.2722, allocations: 27.88 kB / 443 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001655/0.2739, allocations: 0.5754 MB / 443.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.2752, allocations: 0.4925 MB / 444.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005755/0.2758, allocations: 251.7 kB / 444.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001822/0.2776, allocations: 1.475 MB / 445.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006841/0.2783, allocations: 407.2 kB / 446.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008038/0.2791, allocations: 0.5837 MB / 446.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006725/0.2798, allocations: 0.5911 MB / 447.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001715/0.2799, allocations: 140 kB / 447.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003357/0.2803, allocations: 176 kB / 447.7 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002325/0.2805, allocations: 286.9 kB / 448 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006342/0.2811, allocations: 0.6571 MB / 448.6 MB, free: 6.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002072/0.2832, allocations: 1.726 MB / 450.3 MB, free: 4.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.2832, allocations: 0 / 450.3 MB, free: 4.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2832, allocations: 0 / 450.3 MB, free: 4.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.725e-05/0.2832, allocations: 0 / 450.3 MB, free: 4.75 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002574/0.2858, allocations: 1.415 MB / 451.8 MB, free: 3.301 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.2859, allocations: 8.031 kB / 451.8 MB, free: 3.293 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006745/0.2865, allocations: 196 kB / 452 MB, free: 3.102 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.2878, allocations: 0.6728 MB / 452.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.237e-05/0.2879, allocations: 74 kB / 452.7 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.288, allocations: 103.9 kB / 452.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/0.2897, allocations: 0.9347 MB / 453.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.588e-05/0.2898, allocations: 0 / 453.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.858e-05/0.2899, allocations: 47.98 kB / 453.8 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.418e-05/0.2899, allocations: 27.98 kB / 453.8 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.2912, allocations: 0.6325 MB / 454.4 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005245/0.2964, allocations: 3.786 MB / 458.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006877/0.2971, allocations: 351.1 kB / 458.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006045/0.2977, allocations: 242 kB / 458.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.261e-05/0.2977, allocations: 8.328 kB / 458.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.2978, allocations: 34.89 kB / 458.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 2.034e-06/0.2978, allocations: 0 / 458.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002765/0.3005, allocations: 1.264 MB / 460.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/0.3006, allocations: 81.11 kB / 460.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.3017, allocations: 0.837 MB / 461 MB, free: 9.668 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.3018, allocations: 29.7 kB / 461.1 MB, free: 9.633 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004479/0.3022, allocations: 0.5735 MB / 461.6 MB, free: 9.051 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/0.3024, allocations: 162.6 kB / 461.8 MB, free: 8.891 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/0.3026, allocations: 130.6 kB / 461.9 MB, free: 8.758 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3027, allocations: 330 kB / 462.2 MB, free: 8.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003531/0.3031, allocations: 165.9 kB / 462.4 MB, free: 8.266 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005975/0.3037, allocations: 467.9 kB / 462.9 MB, free: 7.676 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009737/0.3046, allocations: 0.6622 MB / 463.5 MB, free: 6.879 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.3046, allocations: 4 kB / 463.5 MB, free: 6.875 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001388/0.306, allocations: 0.7673 MB / 464.3 MB, free: 6.098 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.306, allocations: 12.09 kB / 464.3 MB, free: 6.086 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/0.3061, allocations: 15.98 kB / 464.3 MB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002712/0.3063, allocations: 77.62 kB / 464.4 MB, free: 5.988 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005345/0.3069, allocations: 155.7 kB / 464.5 MB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002654/0.3095, allocations: 2.927 MB / 467.5 MB, free: 2.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005338/0.3101, allocations: 39.94 kB / 467.5 MB, free: 2.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.722e-05/0.3101, allocations: 39.94 kB / 467.6 MB, free: 2.602 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004114/0.3105, allocations: 257.5 kB / 467.8 MB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.3106, allocations: 95.5 kB / 467.9 MB, free: 2.246 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000985/0.3116, allocations: 499.4 kB / 468.4 MB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.3116, allocations: 4 kB / 468.4 MB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3116, allocations: 4 kB / 468.4 MB, free: 1.738 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.3116, allocations: 3.984 kB / 468.4 MB, free: 1.734 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/0.3139, allocations: 1.407 MB / 469.8 MB, free: 256 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3139, allocations: 7.875 kB / 469.8 MB, free: 248 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003188/0.3142, allocations: 71.91 kB / 469.9 MB, free: 176 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002283/0.3145, allocations: 73.89 kB / 470 MB, free: 96 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/0.3145, allocations: 12 kB / 470 MB, free: 84 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00278/0.3173, allocations: 2.912 MB / 472.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.3173, allocations: 4 kB / 472.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.3186, allocations: 0.7745 MB / 473.7 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003223/0.319, allocations: 127.4 kB / 473.8 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.3191, allocations: 11.94 kB / 473.8 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004372/0.3195, allocations: 32.11 kB / 473.8 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.079e-05/0.3196, allocations: 31.94 kB / 473.9 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.997e-05/0.3196, allocations: 19.98 kB / 473.9 MB, free: 11.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008635/0.3205, allocations: 0.5615 MB / 474.4 MB, free: 11.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3205, allocations: 0 / 474.4 MB, free: 11.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009417/0.3214, allocations: 208 kB / 474.6 MB, free: 11.14 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (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.000259/0.3217, allocations: 123.1 kB / 474.8 MB, free: 11.01 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001307/0.323, allocations: 0.6636 MB / 475.4 MB, free: 10.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.323, allocations: 0 / 475.4 MB, free: 10.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006854/0.3237, allocations: 425.9 kB / 475.8 MB, free: 9.879 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.3248, allocations: 237.3 kB / 476.1 MB, free: 9.656 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00296/0.3277, allocations: 1.756 MB / 477.8 MB, free: 7.852 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000693/0.3284, allocations: 0.9969 MB / 478.8 MB, free: 6.828 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003611/0.3288, allocations: 103.2 kB / 478.9 MB, free: 6.723 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.3289, allocations: 59.38 kB / 479 MB, free: 6.664 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3289, allocations: 4 kB / 479 MB, free: 6.66 MB / 382.1 MB Notification: Performance of Templates: time 0.0219/0.3508, allocations: 11.18 MB / 490.2 MB, free: 11.6 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.967113712802529]