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.00125/0.00125, allocations: 113 kB / 21.18 MB, free: 0.5898 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.001377/0.001377, allocations: 209.7 kB / 24.47 MB, free: 3.996 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.381/1.381, allocations: 230.4 MB / 258.1 MB, free: 8.137 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.001913/0.001913, allocations: 75.81 kB / 378.7 MB, free: 2.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.254, allocations: 53.31 MB / 432.1 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01024/0.2643, allocations: 8.073 MB / 440.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004604/0.2689, allocations: 2.645 MB / 442.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000795/0.2697, allocations: 23.94 kB / 442.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001555/0.2712, allocations: 0.5676 MB / 443.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.2725, allocations: 488.4 kB / 443.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005469/0.2731, allocations: 247.7 kB / 444.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00168/0.2748, allocations: 1.432 MB / 445.5 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006399/0.2754, allocations: 398.8 kB / 445.9 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008212/0.2762, allocations: 0.5564 MB / 446.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007331/0.2769, allocations: 0.5794 MB / 447 MB, free: 8.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000179/0.2771, allocations: 136 kB / 447.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003224/0.2774, allocations: 176 kB / 447.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002282/0.2777, allocations: 275 kB / 447.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006157/0.2783, allocations: 0.6532 MB / 448.3 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002/0.2803, allocations: 1.7 MB / 450 MB, free: 5.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2803, allocations: 0 / 450 MB, free: 5.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2803, allocations: 0 / 450 MB, free: 5.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.135e-05/0.2803, allocations: 0 / 450 MB, free: 5.348 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.002532/0.2828, allocations: 1.459 MB / 451.4 MB, free: 3.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.2829, allocations: 12.02 kB / 451.4 MB, free: 3.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005565/0.2834, allocations: 176.1 kB / 451.6 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.2847, allocations: 0.7306 MB / 452.3 MB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.568e-05/0.2847, allocations: 78 kB / 452.4 MB, free: 2.801 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.2849, allocations: 99.94 kB / 452.5 MB, free: 2.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.2864, allocations: 0.9152 MB / 453.4 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.395e-05/0.2865, allocations: 7.891 kB / 453.4 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.087e-05/0.2865, allocations: 44 kB / 453.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.2866, allocations: 24 kB / 453.5 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.2878, allocations: 0.6285 MB / 454.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005157/0.293, allocations: 3.879 MB / 458 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005919/0.2936, allocations: 347.6 kB / 458.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002898/0.2939, allocations: 135.8 kB / 458.5 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.2939, allocations: 4 kB / 458.5 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.2939, allocations: 38.56 kB / 458.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.304e-06/0.2939, allocations: 0 / 458.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002354/0.2963, allocations: 1.208 MB / 459.7 MB, free: 11.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.302e-05/0.2963, allocations: 85.11 kB / 459.8 MB, free: 11.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.2974, allocations: 0.8253 MB / 460.6 MB, free: 10.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.2975, allocations: 33.7 kB / 460.7 MB, free: 10.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004289/0.2979, allocations: 0.5811 MB / 461.3 MB, free: 9.543 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.298, allocations: 138.8 kB / 461.4 MB, free: 9.406 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.2982, allocations: 122.6 kB / 461.5 MB, free: 9.281 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.2983, allocations: 334 kB / 461.8 MB, free: 8.949 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003162/0.2986, allocations: 149.9 kB / 462 MB, free: 8.801 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005384/0.2992, allocations: 460 kB / 462.4 MB, free: 8.207 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009107/0.3001, allocations: 0.6429 MB / 463.1 MB, free: 7.422 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.3001, allocations: 4 kB / 463.1 MB, free: 7.418 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001193/0.3013, allocations: 0.6924 MB / 463.8 MB, free: 6.715 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.3013, allocations: 8 kB / 463.8 MB, free: 6.707 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.3013, allocations: 12 kB / 463.8 MB, free: 6.695 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001502/0.3015, allocations: 41.41 kB / 463.8 MB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004897/0.302, allocations: 155.7 kB / 464 MB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001147/0.3031, allocations: 1.39 MB / 465.4 MB, free: 4.969 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00051/0.3036, allocations: 35.98 kB / 465.4 MB, free: 4.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/0.3037, 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.0003717/0.304, allocations: 261.6 kB / 465.7 MB, free: 4.637 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.3041, allocations: 91.38 kB / 465.8 MB, free: 4.547 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007381/0.3049, allocations: 374.2 kB / 466.1 MB, free: 4.168 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.3049, allocations: 4 kB / 466.2 MB, free: 4.164 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.3049, allocations: 0 / 466.2 MB, free: 4.164 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.3049, allocations: 3.984 kB / 466.2 MB, free: 4.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0019/0.3068, allocations: 1.27 MB / 467.4 MB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.3068, allocations: 8.219 kB / 467.4 MB, free: 2.801 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003143/0.3071, allocations: 71.84 kB / 467.5 MB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.021e-05/0.3072, allocations: 20.84 kB / 467.5 MB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.3072, allocations: 12 kB / 467.5 MB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001054/0.3083, allocations: 1.367 MB / 468.9 MB, free: 1.191 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.3083, allocations: 4.031 kB / 468.9 MB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.3093, allocations: 0.6331 MB / 469.5 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002728/0.3096, allocations: 196.5 kB / 469.7 MB, free: 308 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.426e-05/0.3097, allocations: 8 kB / 469.7 MB, free: 300 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000365/0.31, allocations: 31.91 kB / 469.8 MB, free: 268 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.492e-05/0.3101, allocations: 23.97 kB / 469.8 MB, free: 244 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.3101, allocations: 16 kB / 469.8 MB, free: 228 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007815/0.3109, allocations: 0.5576 MB / 470.4 MB, free: 15.67 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3109, allocations: 0 / 470.4 MB, free: 15.67 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000737/0.3117, allocations: 191.9 kB / 470.6 MB, free: 15.48 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.0002177/0.3119, allocations: 123.2 kB / 470.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009981/0.3129, allocations: 0.4998 MB / 471.2 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3129, allocations: 0 / 471.2 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004179/0.3133, allocations: 259.8 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.0009802/0.3143, allocations: 216.9 kB / 471.6 MB, free: 14.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002983/0.3173, allocations: 1.756 MB / 473.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006481/0.3179, allocations: 0.9962 MB / 474.4 MB, free: 11.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.3181, allocations: 55.44 kB / 474.4 MB, free: 11.47 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3181, allocations: 4 kB / 474.4 MB, free: 11.47 MB / 382.1 MB Notification: Performance of Templates: time 0.02215/0.3402, allocations: 15.91 MB / 490.4 MB, free: 11.6 MB / 398.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 -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: 8.274435183033347]