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.001512/0.001512, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.00185/0.00185, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.485/1.485, allocations: 230.6 MB / 258.3 MB, free: 8.051 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.002113/0.002113, allocations: 68.78 kB / 379 MB, free: 2.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2525, allocations: 53.36 MB / 432.4 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.009403/0.2619, allocations: 7.227 MB / 439.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004339/0.2662, allocations: 2.391 MB / 442 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006638/0.2669, allocations: 27.88 kB / 442.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.2682, allocations: 0.5162 MB / 442.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008921/0.2691, allocations: 413 kB / 443 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004309/0.2696, allocations: 203.7 kB / 443.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001432/0.271, allocations: 1.214 MB / 444.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005313/0.2715, allocations: 340.5 kB / 444.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006497/0.2722, allocations: 474.2 kB / 445.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005865/0.2728, allocations: 0.4899 MB / 445.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000146/0.2729, allocations: 116 kB / 445.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002943/0.2732, allocations: 160 kB / 445.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002003/0.2734, allocations: 223.2 kB / 446.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000535/0.2739, allocations: 0.5482 MB / 446.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001649/0.2756, allocations: 1.436 MB / 448.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2756, allocations: 0 / 448.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2756, allocations: 4 kB / 448.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.2756, allocations: 0 / 448.1 MB, free: 7.16 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.002131/0.2777, allocations: 1.201 MB / 449.3 MB, free: 5.926 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.2778, allocations: 8.031 kB / 449.4 MB, free: 5.918 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005229/0.2783, allocations: 152.2 kB / 449.5 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.2794, allocations: 0.5804 MB / 450.1 MB, free: 5.156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.101e-05/0.2794, allocations: 62.31 kB / 450.1 MB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.2795, allocations: 84.33 kB / 450.2 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.2809, allocations: 0.7832 MB / 451 MB, free: 4.199 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.155e-05/0.281, allocations: 3.938 kB / 451 MB, free: 4.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.429e-05/0.281, allocations: 32 kB / 451 MB, free: 4.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.998e-05/0.2811, allocations: 20 kB / 451.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.2821, allocations: 0.5153 MB / 451.6 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00419/0.2863, allocations: 3.274 MB / 454.9 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005058/0.2868, allocations: 222.6 kB / 455.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002354/0.287, allocations: 104.8 kB / 455.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.2871, allocations: 0 / 455.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.2871, allocations: 34.56 kB / 455.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.072e-06/0.2871, allocations: 4 kB / 455.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001907/0.289, allocations: 0.9121 MB / 456.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.39e-05/0.2891, allocations: 81.34 kB / 456.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009612/0.29, allocations: 0.7272 MB / 456.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.2901, allocations: 33.7 kB / 457 MB, free: 13.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003736/0.2904, allocations: 0.5072 MB / 457.5 MB, free: 13.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.83e-05/0.2905, allocations: 115 kB / 457.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.2907, allocations: 114.2 kB / 457.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.2908, allocations: 374.8 kB / 458.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002788/0.2911, allocations: 133.2 kB / 458.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004971/0.2916, allocations: 418.2 kB / 458.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008108/0.2924, allocations: 0.5714 MB / 459.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.2924, allocations: 4 kB / 459.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001048/0.2935, allocations: 0.6231 MB / 459.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.2935, allocations: 8 kB / 459.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.2935, allocations: 12 kB / 459.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001683/0.2937, allocations: 28.84 kB / 459.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004293/0.2941, allocations: 147.7 kB / 460 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/0.2952, allocations: 1.276 MB / 461.3 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004027/0.2956, allocations: 44 kB / 461.3 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.841e-05/0.2956, allocations: 31.98 kB / 461.3 MB, free: 9.16 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.0003407/0.2959, allocations: 237.5 kB / 461.6 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.296, allocations: 71.53 kB / 461.6 MB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006502/0.2967, allocations: 329.4 kB / 462 MB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2967, allocations: 0 / 462 MB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.2967, allocations: 4 kB / 462 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2967, allocations: 0 / 462 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001603/0.2983, allocations: 1.067 MB / 463 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.2983, allocations: 8 kB / 463 MB, free: 7.359 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/0.2986, allocations: 59.91 kB / 463.1 MB, free: 7.301 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.934e-05/0.2987, allocations: 29.06 kB / 463.1 MB, free: 7.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.2987, allocations: 8 kB / 463.1 MB, free: 7.262 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009671/0.2996, allocations: 1.271 MB / 464.4 MB, free: 5.871 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.2996, allocations: 4.031 kB / 464.4 MB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008811/0.3005, allocations: 0.5453 MB / 465 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002056/0.3007, allocations: 99.53 kB / 465.1 MB, free: 5.184 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.463e-05/0.3008, allocations: 12 kB / 465.1 MB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000309/0.3011, allocations: 19.97 kB / 465.1 MB, free: 5.152 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.153e-05/0.3012, allocations: 27.84 kB / 465.1 MB, free: 5.125 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.3012, allocations: 8 kB / 465.1 MB, free: 5.117 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006972/0.3019, allocations: 0.5069 MB / 465.6 MB, free: 4.613 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3019, allocations: 0 / 465.6 MB, free: 4.613 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006271/0.3025, allocations: 167.9 kB / 465.8 MB, free: 4.449 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.0002061/0.3027, allocations: 119.8 kB / 465.9 MB, free: 4.324 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008943/0.3036, allocations: 452.7 kB / 466.3 MB, free: 3.871 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.3036, allocations: 0.75 kB / 466.3 MB, free: 3.871 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003705/0.304, allocations: 243.9 kB / 466.6 MB, free: 3.621 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008253/0.3048, allocations: 188.5 kB / 466.8 MB, free: 3.449 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/0.3071, allocations: 1.449 MB / 468.2 MB, free: 1.949 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005754/0.3077, allocations: 0.9372 MB / 469.2 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002896/0.308, allocations: 94 kB / 469.3 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.3081, allocations: 47.44 kB / 469.3 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3081, allocations: 0 / 469.3 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of Templates: time 0.01828/0.3264, allocations: 8.687 MB / 478 MB, free: 8.25 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins/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: 4.821345806121826]