Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.001583/0.001583, allocations: 120.7 kB / 19.18 MB, free: 3.906 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.001902/0.001902, allocations: 202.6 kB / 22.12 MB, free: 0.9648 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.429/1.429, allocations: 230.2 MB / 255.1 MB, free: 15.21 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_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 55.91 kB / 374.5 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09746/0.09947, allocations: 53.32 MB / 427.8 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.1979/0.2974, allocations: 7.172 MB / 435 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003362/0.3008, allocations: 2.391 MB / 437.4 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006785/0.3014, allocations: 21.25 kB / 437.4 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.3027, allocations: 0.5145 MB / 437.9 MB, free: 6.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008904/0.3035, allocations: 418.7 kB / 438.4 MB, free: 6.469 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003943/0.3039, allocations: 201.5 kB / 438.5 MB, free: 6.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001239/0.3052, allocations: 1.201 MB / 439.7 MB, free: 5.992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005059/0.3057, allocations: 340.2 kB / 440.1 MB, free: 5.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006704/0.3064, allocations: 470.9 kB / 440.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005146/0.3069, allocations: 499.6 kB / 441 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001411/0.307, allocations: 114.3 kB / 441.1 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003122/0.3073, allocations: 152.8 kB / 441.3 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.3075, allocations: 229.9 kB / 441.5 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004092/0.3079, allocations: 0.5405 MB / 442.1 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001641/0.3095, allocations: 1.436 MB / 443.5 MB, free: 4.195 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3095, allocations: 4 kB / 443.5 MB, free: 4.191 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3095, allocations: 3.938 kB / 443.5 MB, free: 4.188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.079e-05/0.3095, allocations: 0.8438 kB / 443.5 MB, free: 4.188 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.001918/0.3115, allocations: 1.278 MB / 444.8 MB, free: 3.289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.3115, allocations: 9.688 kB / 444.8 MB, free: 3.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006057/0.3121, allocations: 147.8 kB / 444.9 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.3133, allocations: 0.6512 MB / 445.6 MB, free: 2.758 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.772e-05/0.3133, allocations: 62.12 kB / 445.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.3135, allocations: 81.25 kB / 445.7 MB, free: 2.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.3147, allocations: 0.7823 MB / 446.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.018e-05/0.3147, allocations: 2.938 kB / 446.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.719e-05/0.3148, allocations: 31.47 kB / 446.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.3148, allocations: 19.7 kB / 446.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009491/0.3158, allocations: 0.5236 MB / 447.1 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003973/0.3197, allocations: 3.37 MB / 450.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004964/0.3202, allocations: 223.4 kB / 450.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002391/0.3205, allocations: 107.1 kB / 450.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.3205, allocations: 2.844 kB / 450.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.5e-05/0.3205, allocations: 40.52 kB / 450.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.763e-06/0.3205, allocations: 1.469 kB / 450.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.002248/0.3228, allocations: 1.064 MB / 451.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.3229, allocations: 80.94 kB / 452 MB, free: 14.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.3239, allocations: 0.7365 MB / 452.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.324, allocations: 31.02 kB / 452.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004393/0.3244, allocations: 0.5045 MB / 453.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.709e-05/0.3245, allocations: 106.9 kB / 453.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.3247, allocations: 114.1 kB / 453.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.3249, allocations: 380.2 kB / 453.8 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002716/0.3251, allocations: 125 kB / 453.9 MB, free: 13.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004975/0.3256, allocations: 423.1 kB / 454.4 MB, free: 12.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008005/0.3264, allocations: 0.5677 MB / 454.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.3264, allocations: 3.656 kB / 454.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001128/0.3276, allocations: 0.6212 MB / 455.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.3276, allocations: 10.89 kB / 455.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.3276, allocations: 8.531 kB / 455.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001576/0.3277, allocations: 34.34 kB / 455.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004184/0.3282, allocations: 144 kB / 455.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001195/0.3294, allocations: 1.389 MB / 457.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005341/0.3299, allocations: 33.73 kB / 457.2 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.381e-05/0.3299, allocations: 31.19 kB / 457.2 MB, free: 10.69 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.0003661/0.3303, allocations: 235.1 kB / 457.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.3304, allocations: 74.44 kB / 457.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006734/0.3311, allocations: 323.1 kB / 457.8 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3311, allocations: 2.562 kB / 457.8 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3311, allocations: 1.781 kB / 457.8 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3311, allocations: 5.156 kB / 457.8 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/0.3329, allocations: 1.097 MB / 458.9 MB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.3329, allocations: 2.75 kB / 458.9 MB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/0.3332, allocations: 61.28 kB / 459 MB, free: 9.617 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.595e-05/0.3333, allocations: 22.48 kB / 459 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.3333, allocations: 8.125 kB / 459 MB, free: 9.602 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/0.3343, allocations: 1.378 MB / 460.4 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3343, allocations: 4.812 kB / 460.4 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000863/0.3352, allocations: 0.5531 MB / 460.9 MB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002653/0.3354, allocations: 179.3 kB / 461.1 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.322e-05/0.3355, allocations: 13.75 kB / 461.1 MB, free: 7.672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003183/0.3359, allocations: 22.97 kB / 461.2 MB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.409e-05/0.3359, allocations: 25.42 kB / 461.2 MB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.3359, allocations: 8.062 kB / 461.2 MB, free: 7.656 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007042/0.3366, allocations: 0.5106 MB / 461.7 MB, free: 7.422 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3366, allocations: 1.219 kB / 461.7 MB, free: 7.422 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007105/0.3373, allocations: 157.9 kB / 461.9 MB, free: 7.41 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.0002203/0.3376, allocations: 122.5 kB / 462 MB, free: 7.301 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009116/0.3385, allocations: 456.6 kB / 462.4 MB, free: 7.074 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.3385, allocations: 5.188 kB / 462.4 MB, free: 7.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003804/0.3389, allocations: 235.2 kB / 462.7 MB, free: 6.918 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009302/0.3398, allocations: 191.9 kB / 462.8 MB, free: 6.863 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002573/0.3424, allocations: 1.476 MB / 464.3 MB, free: 5.945 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006079/0.343, allocations: 0.9418 MB / 465.3 MB, free: 5.164 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.3431, allocations: 49.34 kB / 465.3 MB, free: 5.156 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3431, allocations: 1.812 kB / 465.3 MB, free: 5.156 MB / 366.1 MB Notification: Performance of Templates: time 0.02048/0.3636, allocations: 13.55 MB / 478.9 MB, free: 12.69 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 8.336953329038806]