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.SpeedControlledDCPM.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.001685/0.001685, allocations: 111.2 kB / 21.18 MB, free: 0.6289 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.001998/0.001998, allocations: 206.8 kB / 24.48 MB, free: 4.035 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.385/1.385, allocations: 230.4 MB / 258.1 MB, free: 8.16 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.SpeedControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,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|speedController.integrator.y|preFilter.y|slewRateLimiter.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM") translateModel(Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,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|speedController.integrator.y|preFilter.y|slewRateLimiter.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM") [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.001936/0.001936, allocations: 63.83 kB / 378.8 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2157, allocations: 53.32 MB / 432.1 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM): time 0.017/0.2327, allocations: 14.8 MB / 446.9 MB, free: 8.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00936/0.2421, allocations: 5.45 MB / 452.3 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001851/0.2439, allocations: 63.75 kB / 452.4 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002425/0.2464, allocations: 0.9435 MB / 453.3 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001543/0.2479, allocations: 0.6164 MB / 454 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.249, allocations: 0.6084 MB / 454.6 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002489/0.2515, allocations: 2.355 MB / 456.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001215/0.2527, allocations: 0.8016 MB / 457.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/0.2537, allocations: 0.8676 MB / 458.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001051/0.2548, allocations: 0.9448 MB / 459.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002875/0.2551, allocations: 248 kB / 459.8 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004354/0.2555, allocations: 284 kB / 460 MB, free: 11.28 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003834/0.2559, allocations: 482.3 kB / 460.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009256/0.2568, allocations: 1.053 MB / 461.6 MB, free: 9.746 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003044/0.2598, allocations: 2.953 MB / 464.5 MB, free: 6.781 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2598, allocations: 0 / 464.5 MB, free: 6.781 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2598, allocations: 0 / 464.5 MB, free: 6.781 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.499e-05/0.2599, allocations: 0 / 464.5 MB, free: 6.781 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: 413 * Number of variables: 413 Notification: Performance of Generate backend data structure: time 0.003859/0.2637, allocations: 2.272 MB / 466.8 MB, free: 4.449 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.2638, allocations: 8.031 kB / 466.8 MB, free: 4.441 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007273/0.2645, allocations: 279.4 kB / 467.1 MB, free: 4.168 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001873/0.2664, allocations: 1.151 MB / 468.2 MB, free: 2.961 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.2665, allocations: 131.6 kB / 468.4 MB, free: 2.832 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002278/0.2667, allocations: 168.3 kB / 468.5 MB, free: 2.668 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002708/0.2694, allocations: 1.585 MB / 470.1 MB, free: 1.02 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.103e-05/0.2695, allocations: 0 / 470.1 MB, free: 1.02 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/0.2696, allocations: 68 kB / 470.2 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.558e-05/0.2696, allocations: 40 kB / 470.2 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002217/0.2718, allocations: 1.078 MB / 471.3 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008508/0.2804, allocations: 6.52 MB / 477.8 MB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001842/0.2822, allocations: 0.9247 MB / 478.7 MB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005964/0.2828, allocations: 290.3 kB / 479 MB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.877e-05/0.2828, allocations: 8.562 kB / 479 MB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.2829, allocations: 47.06 kB / 479.1 MB, free: 7.676 MB / 382.1 MB Notification: Performance of pre-optimization done (n=61): time 2.464e-06/0.2829, allocations: 3.938 kB / 479.1 MB, free: 7.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=64): time 0.003973/0.2868, allocations: 2.041 MB / 481.1 MB, free: 5.559 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/0.2869, allocations: 85.67 kB / 481.2 MB, free: 5.457 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001728/0.2886, allocations: 1.257 MB / 482.5 MB, free: 4.184 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.001e-05/0.2887, allocations: 37.7 kB / 482.5 MB, free: 4.141 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006959/0.2894, allocations: 0.9106 MB / 483.4 MB, free: 3.223 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002003/0.2896, allocations: 245.9 kB / 483.6 MB, free: 2.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002747/0.2898, allocations: 202.8 kB / 483.8 MB, free: 2.777 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.29, allocations: 353.9 kB / 484.2 MB, free: 2.426 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006547/0.2907, allocations: 305.9 kB / 484.5 MB, free: 2.125 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000968/0.2916, allocations: 0.7041 MB / 485.2 MB, free: 1.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00164/0.2933, allocations: 1.039 MB / 486.2 MB, free: 4 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.513e-06/0.2933, allocations: 4 kB / 486.2 MB, free: 0 / 382.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002096/0.2954, allocations: 1.157 MB / 487.4 MB, free: 14.83 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.2954, allocations: 12 kB / 487.4 MB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.2954, allocations: 15.98 kB / 487.4 MB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000154/0.2956, allocations: 41.36 kB / 487.5 MB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009225/0.2965, allocations: 267.5 kB / 487.7 MB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/0.2976, allocations: 1.394 MB / 489.1 MB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007117/0.2983, allocations: 55.97 kB / 489.2 MB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.836e-05/0.2984, allocations: 52 kB / 489.2 MB, free: 12.86 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009104/0.2993, allocations: 0.5183 MB / 489.7 MB, free: 12.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008318/0.3002, allocations: 0.6737 MB / 490.4 MB, free: 11.47 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001395/0.3015, allocations: 0.9777 MB / 491.4 MB, free: 10.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.613e-06/0.3016, allocations: 4 kB / 491.4 MB, free: 10.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=140) (initialization_lambda0): time 0.001808/0.3034, allocations: 1.099 MB / 492.5 MB, free: 9.188 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.3034, allocations: 12 kB / 492.5 MB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.3034, allocations: 12 kB / 492.5 MB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-05/0.3035, allocations: 44.78 kB / 492.6 MB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008331/0.3043, allocations: 251.6 kB / 492.8 MB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/0.3054, allocations: 1.403 MB / 494.2 MB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006532/0.306, allocations: 52.09 kB / 494.3 MB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.219e-05/0.3061, allocations: 48 kB / 494.3 MB, free: 7.234 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 3 (speedController.integrator.local_reset,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 (139): * Single equations (assignments): 138 * 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.0002273/0.3063, allocations: 262.7 kB / 494.6 MB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/0.3065, allocations: 139.1 kB / 494.7 MB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/0.3079, allocations: 0.6966 MB / 495.4 MB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.3079, allocations: 3.938 kB / 495.4 MB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3079, allocations: 0 / 495.4 MB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004024/0.3084, allocations: 272.1 kB / 495.7 MB, free: 5.832 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/0.3085, allocations: 16 kB / 495.7 MB, free: 5.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000565/0.3091, allocations: 47.95 kB / 495.7 MB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.239e-05/0.3091, allocations: 40.5 kB / 495.8 MB, free: 5.73 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002059/0.3112, allocations: 0.7961 MB / 496.6 MB, free: 4.926 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001944/0.3131, allocations: 1.141 MB / 497.7 MB, free: 3.773 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005319/0.3137, allocations: 256.3 kB / 498 MB, free: 3.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001179/0.3149, allocations: 0.8382 MB / 498.8 MB, free: 2.68 MB / 398.1 MB Notification: Performance of Backend: time 4.01e-07/0.3149, allocations: 0 / 498.8 MB, free: 2.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002515/0.3174, allocations: 1.285 MB / 0.4884 GB, free: 1.371 MB / 398.1 MB Notification: Performance of SimCode: time 0.004881/0.3223, allocations: 3.377 MB / 0.4917 GB, free: 13.95 MB / 414.1 MB Notification: Performance of Templates: time 0.03272/0.355, allocations: 19.28 MB / 0.5105 GB, free: 10.85 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/ControlledDCDrives/SpeedControlledDCPM/SpeedControlledDCPM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.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.913459804840386]