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.001324/0.001324, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001496/0.001496, allocations: 209.8 kB / 24.48 MB, free: 3.934 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.456/1.456, allocations: 230.5 MB / 258.1 MB, free: 7.773 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.002224/0.002224, allocations: 68.11 kB / 379 MB, free: 2.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2703, allocations: 53.4 MB / 432.4 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.009942/0.2803, allocations: 7.16 MB / 439.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005578/0.2859, allocations: 2.494 MB / 442 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001171/0.287, allocations: 27.88 kB / 442.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00184/0.2889, allocations: 0.5206 MB / 442.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001644/0.2905, allocations: 0.4964 MB / 443.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006648/0.2912, allocations: 247.7 kB / 443.3 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002078/0.2933, allocations: 1.467 MB / 444.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000723/0.294, allocations: 379.2 kB / 445.2 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.295, allocations: 0.572 MB / 445.7 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007855/0.2958, allocations: 0.5208 MB / 446.3 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001823/0.296, allocations: 139.9 kB / 446.4 MB, free: 8.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000368/0.2964, allocations: 172 kB / 446.6 MB, free: 8.254 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002517/0.2966, allocations: 279 kB / 446.8 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006257/0.2973, allocations: 0.5366 MB / 447.4 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002067/0.2993, allocations: 1.742 MB / 449.1 MB, free: 5.695 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2993, allocations: 0 / 449.1 MB, free: 5.695 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2993, allocations: 0 / 449.1 MB, free: 5.695 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.461e-05/0.2994, allocations: 0 / 449.1 MB, free: 5.695 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.002674/0.302, allocations: 1.411 MB / 450.5 MB, free: 4.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.3021, allocations: 11.98 kB / 450.5 MB, free: 4.238 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006834/0.3028, allocations: 192 kB / 450.7 MB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/0.3041, allocations: 0.6767 MB / 451.4 MB, free: 3.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.3042, allocations: 74 kB / 451.5 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.3044, allocations: 99.95 kB / 451.6 MB, free: 3.176 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/0.3062, allocations: 1.031 MB / 452.6 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.893e-05/0.3062, allocations: 8 kB / 452.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.06e-05/0.3063, allocations: 36 kB / 452.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.719e-05/0.3063, allocations: 28 kB / 452.7 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/0.3077, allocations: 0.6363 MB / 453.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005414/0.3131, allocations: 3.354 MB / 456.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000691/0.3138, allocations: 350.9 kB / 457 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005871/0.3144, allocations: 246 kB / 457.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.3144, allocations: 4.328 kB / 457.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.3144, allocations: 38.89 kB / 457.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 2.615e-06/0.3144, allocations: 3.938 kB / 457.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.00278/0.3172, allocations: 1.26 MB / 458.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/0.3173, allocations: 81.11 kB / 458.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.3183, allocations: 0.7543 MB / 459.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/0.3184, allocations: 37.7 kB / 459.4 MB, free: 10.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004569/0.3188, allocations: 0.5813 MB / 460 MB, free: 10.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.319, allocations: 166.6 kB / 460.2 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002142/0.3192, allocations: 130.6 kB / 460.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002249/0.3194, allocations: 382.8 kB / 460.7 MB, free: 9.711 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003555/0.3198, allocations: 169.9 kB / 460.8 MB, free: 9.543 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006225/0.3204, allocations: 485.7 kB / 461.3 MB, free: 8.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009982/0.3214, allocations: 0.6583 MB / 462 MB, free: 8.137 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3214, allocations: 4 kB / 462 MB, free: 8.133 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00146/0.3228, allocations: 0.7671 MB / 462.7 MB, free: 7.355 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.3229, allocations: 8 kB / 462.8 MB, free: 7.348 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.3229, allocations: 11.98 kB / 462.8 MB, free: 7.336 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002764/0.3232, allocations: 81.94 kB / 462.8 MB, free: 7.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005218/0.3237, allocations: 155.7 kB / 463 MB, free: 7.098 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002831/0.3265, allocations: 2.878 MB / 465.9 MB, free: 4.016 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005915/0.3271, allocations: 35.94 kB / 465.9 MB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.934e-05/0.3272, allocations: 35.94 kB / 465.9 MB, free: 3.945 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.000421/0.3276, allocations: 265.5 kB / 466.2 MB, free: 3.676 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.3277, allocations: 91.48 kB / 466.3 MB, free: 3.586 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.3287, allocations: 482.6 kB / 466.8 MB, free: 3.098 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.3287, allocations: 7.938 kB / 466.8 MB, free: 3.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3287, allocations: 0 / 466.8 MB, free: 3.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3287, allocations: 0 / 466.8 MB, free: 3.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002087/0.3308, allocations: 1.193 MB / 468 MB, free: 1.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.3308, allocations: 0 / 468 MB, free: 1.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003133/0.3311, allocations: 80.11 kB / 468 MB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002149/0.3314, allocations: 61.69 kB / 468.1 MB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.3314, allocations: 8 kB / 468.1 MB, free: 1.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002574/0.334, allocations: 2.87 MB / 471 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.334, allocations: 7.969 kB / 471 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/0.3353, allocations: 0.7672 MB / 471.8 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003555/0.3357, allocations: 115.5 kB / 471.9 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.398e-05/0.3358, allocations: 8 kB / 471.9 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004023/0.3362, allocations: 23.98 kB / 471.9 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.392e-05/0.3363, allocations: 47.81 kB / 471.9 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.262e-05/0.3363, allocations: 15.98 kB / 472 MB, free: 13.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007495/0.3371, allocations: 0.4991 MB / 472.5 MB, free: 13.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3371, allocations: 0 / 472.5 MB, free: 13.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008612/0.3379, allocations: 207.9 kB / 472.7 MB, free: 12.88 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.0002247/0.3382, allocations: 123.1 kB / 472.8 MB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0013/0.3395, allocations: 0.6664 MB / 473.5 MB, free: 12.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.3395, allocations: 0 / 473.5 MB, free: 12.06 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006813/0.3402, allocations: 438 kB / 473.9 MB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.3412, allocations: 206.5 kB / 474.1 MB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003113/0.3443, allocations: 1.758 MB / 475.8 MB, free: 9.598 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004685/0.3448, allocations: 417.6 kB / 476.2 MB, free: 9.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.345, allocations: 55.44 kB / 476.3 MB, free: 9.105 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.345, allocations: 3.938 kB / 476.3 MB, free: 9.102 MB / 382.1 MB Notification: Performance of Templates: time 0.02771/0.3727, allocations: 20.97 MB / 497.3 MB, free: 4.152 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins1/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: 8.954234341159463]