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.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.001978/0.001978, allocations: 117.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.002219/0.002219, allocations: 201 kB / 22.12 MB, free: 0.9648 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.478/1.478, allocations: 230.5 MB / 255.4 MB, free: 15 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.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.002104/0.002104, allocations: 63.91 kB / 374.8 MB, free: 9.758 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09528/0.09738, allocations: 53.31 MB / 428.1 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.1952/0.2925, allocations: 7.18 MB / 435.2 MB, free: 8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003709/0.2962, allocations: 2.38 MB / 437.6 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009573/0.2972, allocations: 21.72 kB / 437.6 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001479/0.2987, allocations: 0.5197 MB / 438.2 MB, free: 6.594 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001174/0.2998, allocations: 415.2 kB / 438.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004713/0.3003, allocations: 201 kB / 438.8 MB, free: 6.355 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001465/0.3018, allocations: 1.204 MB / 440 MB, free: 5.879 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005424/0.3023, allocations: 335.7 kB / 440.3 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007861/0.3031, allocations: 472.8 kB / 440.8 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005867/0.3037, allocations: 0.4918 MB / 441.3 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001578/0.3039, allocations: 112.9 kB / 441.4 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003564/0.3042, allocations: 155.1 kB / 441.5 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.3044, allocations: 233.5 kB / 441.7 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000468/0.3048, allocations: 0.5437 MB / 442.3 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001817/0.3066, allocations: 1.432 MB / 443.7 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.3067, allocations: 0 / 443.7 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3067, allocations: 0 / 443.7 MB, free: 4.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.337e-05/0.3067, allocations: 0 / 443.7 MB, free: 4.082 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.002037/0.3087, allocations: 1.282 MB / 445 MB, free: 3.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.3088, allocations: 8.719 kB / 445 MB, free: 3.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004989/0.3093, allocations: 157.7 kB / 445.2 MB, free: 3.113 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.3103, allocations: 0.6436 MB / 445.8 MB, free: 2.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.005e-05/0.3103, allocations: 61.88 kB / 445.9 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.3105, allocations: 84.44 kB / 446 MB, free: 2.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.3117, allocations: 0.7769 MB / 446.7 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.189e-05/0.3117, allocations: 9.156 kB / 446.7 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.104e-05/0.3118, allocations: 36.97 kB / 446.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.3118, allocations: 19.16 kB / 446.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.3128, allocations: 0.5154 MB / 447.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004113/0.3169, allocations: 3.371 MB / 450.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004964/0.3174, allocations: 220.4 kB / 450.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002435/0.3177, allocations: 105.9 kB / 451 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.3177, allocations: 9.812 kB / 451 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.3177, allocations: 33.75 kB / 451 MB, free: 15.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 3.016e-06/0.3177, allocations: 1.266 kB / 451 MB, free: 15.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.002297/0.32, allocations: 1.066 MB / 452.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.325e-05/0.3201, allocations: 85 kB / 452.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.3212, allocations: 0.7372 MB / 452.9 MB, free: 14.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.3213, allocations: 31.77 kB / 453 MB, free: 14.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004285/0.3217, allocations: 0.4999 MB / 453.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.3218, allocations: 111.5 kB / 453.6 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/0.322, allocations: 113.1 kB / 453.7 MB, free: 13.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002119/0.3222, allocations: 380.1 kB / 454 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002761/0.3224, allocations: 122.3 kB / 454.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005617/0.323, allocations: 423.2 kB / 454.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008477/0.3238, allocations: 0.5718 MB / 455.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.3239, allocations: 6.781 kB / 455.2 MB, free: 12.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001215/0.3251, allocations: 0.6187 MB / 455.8 MB, free: 12.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.3251, allocations: 8.562 kB / 455.8 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.3251, allocations: 10.22 kB / 455.8 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001628/0.3253, allocations: 33.64 kB / 455.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004391/0.3257, allocations: 141.5 kB / 456 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001252/0.327, allocations: 1.38 MB / 457.3 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000562/0.3275, allocations: 38.22 kB / 457.4 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-05/0.3276, allocations: 34.69 kB / 457.4 MB, free: 10.57 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.0004197/0.328, allocations: 233.7 kB / 457.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.3281, allocations: 73.66 kB / 457.7 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006454/0.3287, allocations: 319.2 kB / 458 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.3287, allocations: 7.406 kB / 458 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-06/0.3287, allocations: 0 / 458 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.3288, allocations: 2.641 kB / 458 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00181/0.3306, allocations: 1.103 MB / 459.1 MB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.3306, allocations: 6.016 kB / 459.1 MB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002527/0.3308, allocations: 55.62 kB / 459.2 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.557e-05/0.3309, allocations: 23.86 kB / 459.2 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.3309, allocations: 7.547 kB / 459.2 MB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/0.332, allocations: 1.38 MB / 460.6 MB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.332, allocations: 2.625 kB / 460.6 MB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000936/0.333, allocations: 0.5544 MB / 461.2 MB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000279/0.3333, allocations: 176.8 kB / 461.3 MB, free: 7.566 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.351e-05/0.3333, allocations: 7.969 kB / 461.4 MB, free: 7.562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000337/0.3337, allocations: 23.64 kB / 461.4 MB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.524e-05/0.3338, allocations: 31.83 kB / 461.4 MB, free: 7.543 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.3338, allocations: 11.97 kB / 461.4 MB, free: 7.539 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007328/0.3345, allocations: 0.4988 MB / 461.9 MB, free: 7.312 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3345, allocations: 0 / 461.9 MB, free: 7.312 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007696/0.3353, allocations: 158 kB / 462.1 MB, free: 7.301 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.0002401/0.3355, allocations: 131.9 kB / 462.2 MB, free: 7.188 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009628/0.3365, allocations: 457.1 kB / 462.6 MB, free: 6.961 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.3365, allocations: 0 / 462.6 MB, free: 6.961 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004144/0.3369, allocations: 243.3 kB / 462.9 MB, free: 6.801 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009331/0.3378, allocations: 183.2 kB / 463.1 MB, free: 6.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002686/0.3405, allocations: 1.479 MB / 464.5 MB, free: 5.828 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006746/0.3412, allocations: 0.9442 MB / 465.5 MB, free: 5.027 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.3413, allocations: 55.56 kB / 465.5 MB, free: 5.016 MB / 366.1 MB Notification: Performance of SimCode: time 1.262e-06/0.3413, allocations: 0 / 465.5 MB, free: 5.016 MB / 366.1 MB Notification: Performance of Templates: time 0.02156/0.3629, allocations: 13.55 MB / 479.1 MB, free: 12.59 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.630414340062998]