Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.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.001244/0.001244, allocations: 110.5 kB / 21.18 MB, free: 0.7617 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.001283/0.001283, allocations: 215.8 kB / 24.48 MB, free: 4.051 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.373/1.373, allocations: 230.4 MB / 258.1 MB, free: 8.125 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.ControlledDCDrives.CurrentControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|loadInertia.phi|loadInertia.w|dcpm.la.i|armatureInverter.vDCFilter.y|armatureInverter.iMotFilter.y|armatureInverter.idealDcDc.deadTime.y|armatureInverter.idealDcDc.powerController.y|armatureInverter.vMotFilter.y|armatureInverter.iDCFilter.y|currentController.integrator.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM") translateModel(Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|loadInertia.phi|loadInertia.w|dcpm.la.i|armatureInverter.vDCFilter.y|armatureInverter.iMotFilter.y|armatureInverter.idealDcDc.deadTime.y|armatureInverter.idealDcDc.powerController.y|armatureInverter.vMotFilter.y|armatureInverter.iDCFilter.y|currentController.integrator.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM") [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.001905/0.001905, allocations: 71.83 kB / 378.8 MB, free: 2.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2252, allocations: 53.31 MB / 432.1 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM): time 0.01717/0.2423, allocations: 14.23 MB / 446.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008616/0.251, allocations: 5.239 MB / 451.6 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001629/0.2526, allocations: 59.75 kB / 451.6 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0022/0.2548, allocations: 0.9126 MB / 452.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001406/0.2562, allocations: 0.5816 MB / 453.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009013/0.2571, allocations: 0.507 MB / 453.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002362/0.2595, allocations: 2.14 MB / 455.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.2607, allocations: 0.7288 MB / 456.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009831/0.2616, allocations: 0.7938 MB / 457.3 MB, free: 14.01 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001023/0.2627, allocations: 0.8632 MB / 458.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002729/0.2629, allocations: 228 kB / 458.4 MB, free: 12.92 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004214/0.2634, allocations: 264 kB / 458.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003615/0.2637, allocations: 438.5 kB / 459 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008663/0.2646, allocations: 0.9642 MB / 460 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002998/0.2676, allocations: 2.704 MB / 462.7 MB, free: 8.547 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2676, allocations: 3.984 kB / 462.7 MB, free: 8.543 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2676, allocations: 3.938 kB / 462.7 MB, free: 8.539 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.021e-05/0.2676, allocations: 0 / 462.7 MB, free: 8.539 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 375 * Number of variables: 375 Notification: Performance of Generate backend data structure: time 0.003513/0.2711, allocations: 2.053 MB / 464.8 MB, free: 6.426 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.2712, allocations: 8.922 kB / 464.8 MB, free: 6.418 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006983/0.2719, allocations: 251.6 kB / 465 MB, free: 6.172 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001683/0.2735, allocations: 1.041 MB / 466.1 MB, free: 5.086 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-05/0.2736, allocations: 111.3 kB / 466.2 MB, free: 4.977 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002134/0.2738, allocations: 160.3 kB / 466.3 MB, free: 4.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002496/0.2763, allocations: 1.411 MB / 467.7 MB, free: 3.352 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.143e-05/0.2764, allocations: 7.984 kB / 467.8 MB, free: 3.344 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/0.2765, allocations: 60 kB / 467.8 MB, free: 3.285 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.152e-05/0.2765, allocations: 36 kB / 467.8 MB, free: 3.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/0.2784, allocations: 0.9438 MB / 468.8 MB, free: 2.301 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008144/0.2866, allocations: 5.994 MB / 474.8 MB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.2879, allocations: 0.6335 MB / 475.4 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004555/0.2883, allocations: 226 kB / 475.6 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/0.2883, allocations: 8.438 kB / 475.6 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/0.2884, allocations: 39 kB / 475.7 MB, free: 11.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 1.733e-06/0.2884, allocations: 0 / 475.7 MB, free: 11.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=54): time 0.003152/0.2915, allocations: 1.722 MB / 477.4 MB, free: 9.266 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.057e-05/0.2916, allocations: 85.55 kB / 477.5 MB, free: 9.164 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/0.2932, allocations: 1.111 MB / 478.6 MB, free: 8.039 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.94e-05/0.2932, allocations: 37.7 kB / 478.6 MB, free: 7.996 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006535/0.2939, allocations: 0.827 MB / 479.5 MB, free: 7.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001808/0.294, allocations: 214.2 kB / 479.7 MB, free: 6.949 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000266/0.2943, allocations: 174.6 kB / 479.8 MB, free: 6.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.2945, allocations: 341.9 kB / 480.2 MB, free: 6.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005199/0.295, allocations: 244.7 kB / 480.4 MB, free: 6.188 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008432/0.2958, allocations: 0.6251 MB / 481 MB, free: 5.375 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/0.2972, allocations: 0.9068 MB / 482 MB, free: 4.289 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.2972, allocations: 4 kB / 482 MB, free: 4.285 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001759/0.299, allocations: 1.003 MB / 483 MB, free: 3.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.299, allocations: 12 kB / 483 MB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.299, allocations: 15.98 kB / 483 MB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001502/0.2992, allocations: 36.86 kB / 483 MB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00076/0.2999, allocations: 228.1 kB / 483.2 MB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.3011, allocations: 1.402 MB / 484.6 MB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006285/0.3017, allocations: 47.97 kB / 484.7 MB, free: 1.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-05/0.3018, allocations: 48 kB / 484.7 MB, free: 1.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007588/0.3025, allocations: 462.1 kB / 485.2 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007231/0.3033, allocations: 0.594 MB / 485.8 MB, free: 116 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001163/0.3044, allocations: 0.8678 MB / 486.7 MB, free: 15.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.001e-06/0.3044, allocations: 7.938 kB / 486.7 MB, free: 15.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001543/0.306, allocations: 0.952 MB / 487.6 MB, free: 14.1 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.306, allocations: 8 kB / 487.6 MB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.306, allocations: 19.98 kB / 487.6 MB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.014e-05/0.3061, allocations: 41.41 kB / 487.7 MB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006921/0.3068, allocations: 215.7 kB / 487.9 MB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001068/0.3078, allocations: 1.394 MB / 489.3 MB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005836/0.3084, allocations: 39.98 kB / 489.3 MB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.116e-05/0.3085, allocations: 44 kB / 489.4 MB, free: 12.2 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 2 (currentController.integrator.local_reset,armatureInverter.idealDcDc.powerController.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 121 * 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.0002101/0.3087, allocations: 251.8 kB / 489.6 MB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/0.3089, allocations: 115.2 kB / 489.7 MB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.31, allocations: 0.5593 MB / 490.3 MB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.31, allocations: 3.984 kB / 490.3 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.31, allocations: 0 / 490.3 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003564/0.3103, allocations: 252.2 kB / 490.5 MB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.3105, allocations: 12 kB / 490.5 MB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004934/0.311, allocations: 35.97 kB / 490.6 MB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.454e-05/0.311, allocations: 32.44 kB / 490.6 MB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001517/0.3125, allocations: 0.6136 MB / 491.2 MB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001498/0.314, allocations: 0.9405 MB / 492.2 MB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003787/0.3144, allocations: 191.4 kB / 492.4 MB, free: 9.145 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001069/0.3155, allocations: 0.7475 MB / 493.1 MB, free: 8.391 MB / 398.1 MB Notification: Performance of Backend: time 4.2e-07/0.3155, allocations: 4 kB / 493.1 MB, free: 8.387 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002231/0.3177, allocations: 1.136 MB / 494.2 MB, free: 7.219 MB / 398.1 MB Notification: Performance of SimCode: time 0.00447/0.3222, allocations: 3.05 MB / 497.3 MB, free: 4.125 MB / 398.1 MB Notification: Performance of Templates: time 0.02979/0.352, allocations: 16.78 MB / 0.502 GB, free: 3.512 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/ControlledDCDrives/CurrentControlledDCPM/CurrentControlledDCPM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.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.896788104902953]