Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.001333/0.001333, allocations: 114.5 kB / 21.18 MB, free: 0.5859 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.001751/0.001751, allocations: 206.8 kB / 24.46 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.516/1.516, allocations: 230.4 MB / 258.1 MB, free: 8.133 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-beta.om/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.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 71.83 kB / 378.7 MB, free: 2.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2875, allocations: 53.31 MB / 432.1 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009975/0.2975, allocations: 8.072 MB / 440.1 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004505/0.302, allocations: 2.645 MB / 442.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007455/0.3028, allocations: 23.94 kB / 442.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001436/0.3042, allocations: 0.5598 MB / 443.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001161/0.3054, allocations: 488.4 kB / 443.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004876/0.3059, allocations: 251.6 kB / 444.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001665/0.3075, allocations: 1.432 MB / 445.5 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007084/0.3082, allocations: 402.8 kB / 445.9 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008115/0.309, allocations: 0.5486 MB / 446.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007283/0.3098, allocations: 0.5833 MB / 447 MB, free: 8.281 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001744/0.3099, allocations: 136 kB / 447.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003237/0.3103, allocations: 176 kB / 447.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002262/0.3105, allocations: 271 kB / 447.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006663/0.3112, allocations: 0.6532 MB / 448.3 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001973/0.3131, allocations: 1.708 MB / 450 MB, free: 5.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.3131, allocations: 0 / 450 MB, free: 5.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3131, allocations: 0 / 450 MB, free: 5.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.695e-05/0.3131, allocations: 0 / 450 MB, free: 5.34 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002422/0.3156, allocations: 1.455 MB / 451.4 MB, free: 3.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.3156, allocations: 8.031 kB / 451.4 MB, free: 3.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005529/0.3162, allocations: 176.1 kB / 451.6 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.3173, allocations: 0.7267 MB / 452.3 MB, free: 2.879 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.255e-05/0.3174, allocations: 77.98 kB / 452.4 MB, free: 2.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.3175, allocations: 103.9 kB / 452.5 MB, free: 2.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.3191, allocations: 0.9229 MB / 453.4 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.165e-05/0.3191, allocations: 7.891 kB / 453.4 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.147e-05/0.3192, allocations: 44 kB / 453.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.183e-05/0.3192, allocations: 27.94 kB / 453.5 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.3204, allocations: 0.6246 MB / 454.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005036/0.3255, allocations: 3.879 MB / 458 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000588/0.3261, allocations: 339.6 kB / 458.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002932/0.3264, allocations: 135.6 kB / 458.5 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.3264, allocations: 4 kB / 458.5 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.3264, allocations: 38.56 kB / 458.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.794e-06/0.3264, allocations: 0 / 458.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002354/0.3288, allocations: 1.208 MB / 459.7 MB, free: 11.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/0.3288, allocations: 85.09 kB / 459.8 MB, free: 11.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.33, allocations: 0.8292 MB / 460.6 MB, free: 10.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.33, allocations: 29.7 kB / 460.7 MB, free: 10.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004869/0.3305, allocations: 0.5811 MB / 461.2 MB, free: 9.543 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.3306, allocations: 138.9 kB / 461.4 MB, free: 9.406 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/0.3308, allocations: 130.6 kB / 461.5 MB, free: 9.273 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.331, allocations: 326 kB / 461.8 MB, free: 8.949 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003536/0.3313, allocations: 149.9 kB / 462 MB, free: 8.801 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005837/0.3319, allocations: 460 kB / 462.4 MB, free: 8.207 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000951/0.3329, allocations: 0.639 MB / 463.1 MB, free: 7.426 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.3329, allocations: 4 kB / 463.1 MB, free: 7.422 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00126/0.3341, allocations: 0.6966 MB / 463.8 MB, free: 6.715 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.3342, allocations: 12 kB / 463.8 MB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.3342, allocations: 8 kB / 463.8 MB, free: 6.695 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001676/0.3343, allocations: 32.84 kB / 463.8 MB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00051/0.3349, allocations: 164.1 kB / 464 MB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.3362, allocations: 1.394 MB / 465.4 MB, free: 4.965 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004921/0.3367, allocations: 31.98 kB / 465.4 MB, free: 4.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.078e-05/0.3367, allocations: 32 kB / 465.4 MB, free: 4.902 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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): 83 * 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.0003764/0.3371, allocations: 257.5 kB / 465.7 MB, free: 4.641 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.3372, allocations: 91.44 kB / 465.8 MB, free: 4.551 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007652/0.338, allocations: 378.1 kB / 466.1 MB, free: 4.168 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.338, allocations: 4 kB / 466.1 MB, free: 4.164 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.338, allocations: 4 kB / 466.1 MB, free: 4.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.338, allocations: 0 / 466.1 MB, free: 4.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002005/0.34, allocations: 1.262 MB / 467.4 MB, free: 2.816 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.34, allocations: 4 kB / 467.4 MB, free: 2.812 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003434/0.3404, allocations: 84.05 kB / 467.5 MB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.985e-05/0.3404, allocations: 20.86 kB / 467.5 MB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.3405, allocations: 15.92 kB / 467.5 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001148/0.3416, allocations: 1.371 MB / 468.9 MB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.3416, allocations: 4.031 kB / 468.9 MB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.3427, allocations: 0.6331 MB / 469.5 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002999/0.343, allocations: 192.5 kB / 469.7 MB, free: 304 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.62e-05/0.3431, allocations: 12 kB / 469.7 MB, free: 292 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000387/0.3435, allocations: 31.86 kB / 469.8 MB, free: 260 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.813e-05/0.3436, allocations: 23.97 kB / 469.8 MB, free: 236 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.3436, allocations: 8 kB / 469.8 MB, free: 228 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008199/0.3444, allocations: 0.5615 MB / 470.4 MB, free: 15.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3444, allocations: 4 kB / 470.4 MB, free: 15.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007191/0.3452, allocations: 191.9 kB / 470.6 MB, free: 15.47 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,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 (34): * Single equations (assignments): 33 * 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.0002234/0.3454, allocations: 119.2 kB / 470.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.3464, allocations: 0.5004 MB / 471.2 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3464, allocations: 0 / 471.2 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004416/0.3469, allocations: 254.4 kB / 471.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.3479, allocations: 223.9 kB / 471.6 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002829/0.3507, allocations: 1.722 MB / 473.4 MB, free: 12.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006711/0.3514, allocations: 0.9923 MB / 474.4 MB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003169/0.3517, allocations: 102.9 kB / 474.5 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.3518, allocations: 63.36 kB / 474.5 MB, free: 11.4 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3518, allocations: 0 / 474.5 MB, free: 11.4 MB / 382.1 MB Notification: Performance of Templates: time 0.01941/0.3712, allocations: 9.929 MB / 484.4 MB, free: 1.586 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.963696951977909]