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.001775/0.001775, 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.002189/0.002189, 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.408/1.408, 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.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.001852/0.001852, allocations: 71.81 kB / 378.7 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2439, allocations: 53.31 MB / 432.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.008737/0.2527, allocations: 7.228 MB / 439.3 MB, free: 120 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003819/0.2565, allocations: 2.395 MB / 441.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004534/0.2569, allocations: 20 kB / 441.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001176/0.2581, allocations: 0.5126 MB / 442.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007861/0.2589, allocations: 417 kB / 442.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003804/0.2593, allocations: 203.7 kB / 442.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001284/0.2606, allocations: 1.195 MB / 444 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000529/0.2611, allocations: 343.9 kB / 444.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006229/0.2617, allocations: 474.1 kB / 444.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005802/0.2623, allocations: 497.7 kB / 445.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000134/0.2624, allocations: 112 kB / 445.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000271/0.2627, allocations: 160 kB / 445.6 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001819/0.2629, allocations: 227.2 kB / 445.8 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004795/0.2634, allocations: 0.5443 MB / 446.3 MB, free: 9.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001534/0.2649, allocations: 1.432 MB / 447.8 MB, free: 7.582 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2649, allocations: 3.938 kB / 447.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2649, allocations: 0 / 447.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.736e-05/0.2649, allocations: 0 / 447.8 MB, free: 7.578 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.002072/0.267, allocations: 1.277 MB / 449 MB, free: 6.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.267, allocations: 12.03 kB / 449 MB, free: 6.238 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004808/0.2675, allocations: 156.1 kB / 449.2 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.2685, allocations: 0.646 MB / 449.8 MB, free: 5.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.879e-05/0.2686, allocations: 58.38 kB / 449.9 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.2687, allocations: 84.33 kB / 450 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.27, allocations: 0.7793 MB / 450.8 MB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/0.27, allocations: 4 kB / 450.8 MB, free: 4.445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.454e-05/0.2701, allocations: 36 kB / 450.8 MB, free: 4.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/0.2701, allocations: 16 kB / 450.8 MB, free: 4.395 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.2711, allocations: 0.5231 MB / 451.3 MB, free: 3.871 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004111/0.2752, allocations: 3.381 MB / 454.7 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004761/0.2757, allocations: 210.6 kB / 454.9 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002795/0.276, allocations: 112.8 kB / 455 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.276, allocations: 4 kB / 455 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.276, allocations: 34.56 kB / 455.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.633e-06/0.276, allocations: 0 / 455.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.002038/0.2781, allocations: 1.067 MB / 456.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/0.2781, allocations: 81.34 kB / 456.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009313/0.2791, allocations: 0.7349 MB / 457 MB, free: 13.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.2791, allocations: 29.7 kB / 457 MB, free: 13.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003764/0.2795, allocations: 0.5073 MB / 457.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.376e-05/0.2795, allocations: 111.1 kB / 457.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.2797, allocations: 110.2 kB / 457.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.2799, allocations: 382.7 kB / 458.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/0.2802, allocations: 129.2 kB / 458.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004912/0.2807, allocations: 422.2 kB / 458.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007944/0.2815, allocations: 0.5676 MB / 459.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.2815, allocations: 0 / 459.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001048/0.2825, allocations: 0.6195 MB / 459.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.2825, allocations: 8 kB / 459.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.2825, allocations: 16.03 kB / 459.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001469/0.2827, allocations: 32.84 kB / 459.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000425/0.2831, allocations: 139.8 kB / 460 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001133/0.2842, allocations: 1.387 MB / 461.4 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004145/0.2847, allocations: 35.94 kB / 461.4 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.845e-05/0.2847, allocations: 32 kB / 461.5 MB, free: 8.977 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.0003043/0.285, allocations: 241.7 kB / 461.7 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.2851, allocations: 71.53 kB / 461.8 MB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006462/0.2857, allocations: 321.4 kB / 462.1 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.2858, allocations: 4 kB / 462.1 MB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.2858, allocations: 3.938 kB / 462.1 MB, free: 8.328 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.2858, allocations: 8 kB / 462.1 MB, free: 8.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/0.2874, allocations: 1.09 MB / 463.2 MB, free: 7.145 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.2874, allocations: 4 kB / 463.2 MB, free: 7.141 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00028/0.2876, allocations: 59.91 kB / 463.2 MB, free: 7.082 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.811e-05/0.2877, allocations: 20.84 kB / 463.3 MB, free: 7.059 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/0.2877, allocations: 12 kB / 463.3 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009945/0.2887, allocations: 1.371 MB / 464.6 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.2887, allocations: 4.031 kB / 464.7 MB, free: 5.531 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008774/0.2896, allocations: 0.5571 MB / 465.2 MB, free: 4.934 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002247/0.2898, allocations: 180.6 kB / 465.4 MB, free: 4.738 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.77e-05/0.2899, allocations: 8 kB / 465.4 MB, free: 4.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003082/0.2902, allocations: 15.98 kB / 465.4 MB, free: 4.715 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.453e-05/0.2903, allocations: 31.91 kB / 465.4 MB, free: 4.684 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.2903, allocations: 8 kB / 465.4 MB, free: 4.676 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006495/0.291, allocations: 0.5029 MB / 466 MB, free: 4.176 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.291, allocations: 0 / 466 MB, free: 4.176 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006143/0.2916, allocations: 160 kB / 466.1 MB, free: 4.02 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.0002032/0.2918, allocations: 135 kB / 466.2 MB, free: 3.879 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008567/0.2926, allocations: 456.1 kB / 466.7 MB, free: 3.422 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.2926, allocations: 4 kB / 466.7 MB, free: 3.418 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003649/0.293, allocations: 230.1 kB / 466.9 MB, free: 3.184 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000862/0.2939, allocations: 193 kB / 467.1 MB, free: 3.004 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002279/0.2961, allocations: 1.482 MB / 468.6 MB, free: 1.461 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005706/0.2967, allocations: 0.9372 MB / 469.5 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.2968, allocations: 47.44 kB / 469.6 MB, free: 460 kB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2968, allocations: 4 kB / 469.6 MB, free: 456 kB / 366.1 MB Notification: Performance of Templates: time 0.01754/0.3144, allocations: 13.56 MB / 483.1 MB, free: 2.922 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_2/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_2/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.08223726786673]