Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001891/0.001891, allocations: 106.5 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002337/0.002337, allocations: 212.6 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.428/1.428, allocations: 230.6 MB / 258.3 MB, free: 7.781 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 47.92 kB / 379 MB, free: 2.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.216, allocations: 53.37 MB / 432.4 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM): time 0.01618/0.2321, allocations: 12.76 MB / 445.1 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008821/0.241, allocations: 5.174 MB / 450.3 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00143/0.2424, allocations: 79.5 kB / 450.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002082/0.2445, allocations: 0.85 MB / 451.2 MB, free: 3.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001302/0.2458, allocations: 0.6164 MB / 451.8 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009824/0.2468, allocations: 0.6047 MB / 452.4 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002298/0.2491, allocations: 2.359 MB / 454.8 MB, free: 168 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001208/0.2503, allocations: 0.7982 MB / 455.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001038/0.2513, allocations: 0.8911 MB / 456.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.2523, allocations: 0.9448 MB / 457.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000297/0.2526, allocations: 244 kB / 457.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004424/0.2531, allocations: 284 kB / 458 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003883/0.2535, allocations: 490.3 kB / 458.4 MB, free: 12.47 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008273/0.2543, allocations: 0.8515 MB / 459.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003017/0.2573, allocations: 2.965 MB / 462.2 MB, free: 8.641 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2573, allocations: 0 / 462.2 MB, free: 8.641 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2573, allocations: 0 / 462.2 MB, free: 8.641 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.428e-05/0.2573, allocations: 0 / 462.2 MB, free: 8.641 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.00394/0.2613, allocations: 2.193 MB / 464.4 MB, free: 6.406 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.2613, allocations: 12.03 kB / 464.4 MB, free: 6.395 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007908/0.2621, allocations: 271.5 kB / 464.7 MB, free: 6.129 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002028/0.2641, allocations: 1.071 MB / 465.8 MB, free: 5.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.2642, allocations: 127.6 kB / 465.9 MB, free: 4.895 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002429/0.2645, allocations: 168.3 kB / 466.1 MB, free: 4.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002988/0.2675, allocations: 1.732 MB / 467.8 MB, free: 2.898 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.62e-05/0.2675, allocations: 3.938 kB / 467.8 MB, free: 2.895 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001455/0.2677, allocations: 68 kB / 467.9 MB, free: 2.828 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.701e-05/0.2677, allocations: 40 kB / 467.9 MB, free: 2.789 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002191/0.2699, allocations: 1.07 MB / 469 MB, free: 1.715 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008445/0.2783, allocations: 5.644 MB / 474.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/0.28, allocations: 0.6993 MB / 475.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005788/0.2806, allocations: 284.9 kB / 475.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.496e-05/0.2807, allocations: 16.44 kB / 475.6 MB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.2807, allocations: 39.06 kB / 475.7 MB, free: 10.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=61): time 2.585e-06/0.2807, allocations: 0 / 475.7 MB, free: 10.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=64): time 0.003848/0.2845, allocations: 1.89 MB / 477.6 MB, free: 8.809 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.418e-05/0.2846, allocations: 81.77 kB / 477.6 MB, free: 8.711 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/0.2862, allocations: 1.165 MB / 478.8 MB, free: 7.535 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.017e-05/0.2863, allocations: 37.7 kB / 478.8 MB, free: 7.492 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007222/0.287, allocations: 0.9177 MB / 479.8 MB, free: 6.566 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002142/0.2872, allocations: 249.9 kB / 480 MB, free: 6.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002991/0.2875, allocations: 202.8 kB / 480.2 MB, free: 6.117 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.2877, allocations: 349.9 kB / 480.5 MB, free: 5.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006489/0.2883, allocations: 302 kB / 480.8 MB, free: 5.473 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.2893, allocations: 0.7328 MB / 481.6 MB, free: 4.539 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001638/0.291, allocations: 1.043 MB / 482.6 MB, free: 3.312 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.291, allocations: 4 kB / 482.6 MB, free: 3.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002106/0.2931, allocations: 1.153 MB / 483.8 MB, free: 2.145 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.2931, allocations: 15.94 kB / 483.8 MB, free: 2.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/0.2931, allocations: 16 kB / 483.8 MB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001544/0.2933, allocations: 36.84 kB / 483.8 MB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009836/0.2943, allocations: 276 kB / 484.1 MB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/0.2954, allocations: 1.264 MB / 485.4 MB, free: 444 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007432/0.2961, allocations: 60.12 kB / 485.4 MB, free: 384 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.502e-05/0.2962, allocations: 56 kB / 485.5 MB, free: 328 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009275/0.2971, allocations: 0.5143 MB / 486 MB, free: 15.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008591/0.298, allocations: 0.6953 MB / 486.7 MB, free: 14.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001383/0.2994, allocations: 0.9813 MB / 487.7 MB, free: 13.74 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.979e-06/0.2994, allocations: 4 kB / 487.7 MB, free: 13.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=140) (initialization_lambda0): time 0.001825/0.3012, allocations: 1.083 MB / 488.8 MB, free: 12.64 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.3012, allocations: 15.98 kB / 488.8 MB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.3012, allocations: 12 kB / 488.8 MB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.713e-05/0.3013, allocations: 40.86 kB / 488.8 MB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008884/0.3022, allocations: 252.1 kB / 489.1 MB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009902/0.3032, allocations: 1.272 MB / 490.3 MB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006679/0.3039, allocations: 47.98 kB / 490.4 MB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.85e-05/0.3039, allocations: 51.94 kB / 490.4 MB, free: 10.85 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.0002312/0.3042, allocations: 264 kB / 490.7 MB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001833/0.3043, allocations: 135.1 kB / 490.8 MB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/0.3058, allocations: 0.6783 MB / 491.5 MB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.3058, allocations: 3.938 kB / 491.5 MB, free: 9.754 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.3058, allocations: 8 kB / 491.5 MB, free: 9.746 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003912/0.3062, allocations: 191 kB / 491.7 MB, free: 9.559 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.3063, allocations: 16 kB / 491.7 MB, free: 9.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005708/0.3069, allocations: 43.95 kB / 491.8 MB, free: 9.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.47e-05/0.307, allocations: 36.58 kB / 491.8 MB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002062/0.309, allocations: 0.7868 MB / 492.6 MB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001931/0.311, allocations: 1.15 MB / 493.7 MB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005123/0.3115, allocations: 257.1 kB / 494 MB, free: 7.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001089/0.3126, allocations: 0.7568 MB / 494.7 MB, free: 6.488 MB / 398.1 MB Notification: Performance of Backend: time 3.11e-07/0.3126, allocations: 0 / 494.7 MB, free: 6.488 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002581/0.3152, allocations: 1.283 MB / 496 MB, free: 5.184 MB / 398.1 MB Notification: Performance of SimCode: time 0.005011/0.3202, allocations: 3.342 MB / 499.4 MB, free: 1.801 MB / 398.1 MB Notification: Performance of Templates: time 0.03691/0.3571, allocations: 21.31 MB / 0.5085 GB, free: 12.78 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/ControlledDCDrives/SpeedControlledDCPM/SpeedControlledDCPM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 5.230552747001639]