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.001378/0.001378, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001615/0.001615, allocations: 211.8 kB / 23.73 MB, free: 4.164 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.464/1.464, allocations: 230.5 MB / 257.4 MB, free: 7.809 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.00203/0.00203, allocations: 60.08 kB / 378.2 MB, free: 2.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.249, allocations: 53.41 MB / 431.6 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.00999/0.259, allocations: 7.149 MB / 438.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004955/0.264, allocations: 2.494 MB / 441.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/0.265, allocations: 27.88 kB / 441.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001804/0.2668, allocations: 0.5208 MB / 441.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001649/0.2685, allocations: 0.4886 MB / 442.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007907/0.2693, allocations: 255.7 kB / 442.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002158/0.2714, allocations: 1.463 MB / 444 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007879/0.2722, allocations: 386.8 kB / 444.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.2732, allocations: 0.572 MB / 445 MB, free: 9.098 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.2742, allocations: 0.5207 MB / 445.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002767/0.2745, allocations: 136 kB / 445.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004991/0.275, allocations: 172 kB / 445.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002797/0.2753, allocations: 282.9 kB / 446.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007515/0.276, allocations: 0.5366 MB / 446.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002044/0.2781, allocations: 1.738 MB / 448.4 MB, free: 5.715 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2781, allocations: 0 / 448.4 MB, free: 5.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2781, allocations: 3.938 kB / 448.4 MB, free: 5.711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.38e-05/0.2781, allocations: 0 / 448.4 MB, free: 5.711 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.003135/0.2813, allocations: 1.407 MB / 449.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.2813, allocations: 11.98 kB / 449.8 MB, free: 4.258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007937/0.2821, allocations: 192 kB / 450 MB, free: 4.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/0.2836, allocations: 0.6806 MB / 450.7 MB, free: 3.359 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.549e-05/0.2837, allocations: 70 kB / 450.7 MB, free: 3.293 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/0.2838, allocations: 104 kB / 450.8 MB, free: 3.191 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.2856, allocations: 1.031 MB / 451.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.83e-05/0.2856, allocations: 4 kB / 451.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.051e-05/0.2857, allocations: 44 kB / 451.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.001e-05/0.2857, allocations: 27.98 kB / 451.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/0.2871, allocations: 0.6324 MB / 452.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005546/0.2926, allocations: 3.354 MB / 455.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007127/0.2933, allocations: 343 kB / 456.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006456/0.294, allocations: 254 kB / 456.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.814e-05/0.294, allocations: 4.328 kB / 456.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.294, allocations: 38.89 kB / 456.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 2.324e-06/0.294, allocations: 0 / 456.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002888/0.2969, allocations: 1.249 MB / 457.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.043e-05/0.297, allocations: 81.11 kB / 457.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.2982, allocations: 0.762 MB / 458.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/0.2982, allocations: 37.7 kB / 458.7 MB, free: 11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004885/0.2987, allocations: 0.5813 MB / 459.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.2989, allocations: 170.6 kB / 459.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/0.2991, allocations: 130.6 kB / 459.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002234/0.2993, allocations: 382.8 kB / 459.9 MB, free: 9.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003439/0.2996, allocations: 165.9 kB / 460.1 MB, free: 9.566 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000578/0.3002, allocations: 485.7 kB / 460.6 MB, free: 8.953 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009683/0.3012, allocations: 0.67 MB / 461.2 MB, free: 8.148 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.3012, allocations: 4 kB / 461.2 MB, free: 8.145 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001467/0.3027, allocations: 0.7554 MB / 462 MB, free: 7.379 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.3027, allocations: 12 kB / 462 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.3027, allocations: 8 kB / 462 MB, free: 7.359 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003025/0.303, allocations: 89.88 kB / 462.1 MB, free: 7.266 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005019/0.3035, allocations: 151.7 kB / 462.2 MB, free: 7.117 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00276/0.3063, allocations: 2.882 MB / 465.1 MB, free: 4.031 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005922/0.3068, allocations: 39.88 kB / 465.2 MB, free: 3.992 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.414e-05/0.3069, allocations: 36 kB / 465.2 MB, free: 3.957 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.0004518/0.3074, allocations: 261.6 kB / 465.4 MB, free: 3.691 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/0.3075, allocations: 83.42 kB / 465.5 MB, free: 3.609 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/0.3085, allocations: 490.6 kB / 466 MB, free: 3.113 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.3086, allocations: 7.938 kB / 466 MB, free: 3.105 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3086, allocations: 0 / 466 MB, free: 3.105 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.3086, allocations: 3.984 kB / 466 MB, free: 3.102 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00231/0.3109, allocations: 1.185 MB / 467.2 MB, free: 1.852 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3109, allocations: 4.219 kB / 467.2 MB, free: 1.848 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003175/0.3112, allocations: 75.89 kB / 467.3 MB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002298/0.3114, allocations: 73.67 kB / 467.4 MB, free: 1.695 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/0.3115, allocations: 8 kB / 467.4 MB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002842/0.3143, allocations: 2.858 MB / 470.2 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.3143, allocations: 7.969 kB / 470.2 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.3158, allocations: 0.7672 MB / 471 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003727/0.3161, allocations: 111.5 kB / 471.1 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/0.3163, allocations: 16 kB / 471.1 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004319/0.3167, allocations: 28.11 kB / 471.1 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.3168, allocations: 43.8 kB / 471.2 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-05/0.3168, allocations: 16 kB / 471.2 MB, free: 13.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007805/0.3176, allocations: 0.5029 MB / 471.7 MB, free: 13.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3176, allocations: 0 / 471.7 MB, free: 13.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009485/0.3186, allocations: 204 kB / 471.9 MB, free: 12.9 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.0002252/0.3188, allocations: 123.1 kB / 472 MB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001382/0.3202, allocations: 0.666 MB / 472.7 MB, free: 12.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.3202, allocations: 0 / 472.7 MB, free: 12.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007105/0.3209, allocations: 438.4 kB / 473.1 MB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.322, allocations: 207.7 kB / 473.3 MB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003448/0.3254, allocations: 1.721 MB / 475 MB, free: 9.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005281/0.326, allocations: 417.6 kB / 475.5 MB, free: 9.223 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003893/0.3264, allocations: 106.6 kB / 475.6 MB, free: 9.113 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.3265, allocations: 51.44 kB / 475.6 MB, free: 9.062 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3265, allocations: 0 / 475.6 MB, free: 9.062 MB / 382.1 MB Notification: Performance of Templates: time 0.02319/0.3497, allocations: 11.48 MB / 487.1 MB, free: 13.78 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.942337099462748]