Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|armatureInverter.iDCFilter.y|armatureInverter.iMotFilter.y|armatureInverter.idealDcDc.deadTime.y|armatureInverter.idealDcDc.powerController.y|armatureInverter.vDCFilter.y|armatureInverter.vMotFilter.y|currentController.integrator.y|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM") translateModel(Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|armatureInverter.iDCFilter.y|armatureInverter.iMotFilter.y|armatureInverter.idealDcDc.deadTime.y|armatureInverter.idealDcDc.powerController.y|armatureInverter.vDCFilter.y|armatureInverter.vMotFilter.y|currentController.integrator.y|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 107.3 kB / 18.4 MB, free: 4.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001774/0.001775, allocations: 191.3 kB / 19.34 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.288/1.288, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 55.92 kB / 329.2 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07674/0.07798, allocations: 46.62 MB / 375.9 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM): time 0.1726/0.2506, allocations: 13.98 MB / 389.8 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008942/0.2596, allocations: 5.154 MB / 395 MB, free: 1.844 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002841/0.2624, allocations: 59.06 kB / 395 MB, free: 1.828 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002667/0.2651, allocations: 0.8697 MB / 395.9 MB, free: 1.391 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002039/0.2672, allocations: 0.5499 MB / 396.5 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.2683, allocations: 0.5045 MB / 397 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002533/0.2708, allocations: 2.167 MB / 399.1 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001418/0.2723, allocations: 1.127 MB / 400.3 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001084/0.2733, allocations: 0.7962 MB / 401.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009273/0.2743, allocations: 0.8722 MB / 401.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002515/0.2745, allocations: 231.8 kB / 402.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004494/0.275, allocations: 267.7 kB / 402.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003403/0.2753, allocations: 448.1 kB / 402.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008505/0.2762, allocations: 0.9854 MB / 403.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002669/0.2789, allocations: 2.762 MB / 406.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2789, allocations: 4 kB / 406.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2789, allocations: 0 / 406.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.582e-05/0.279, allocations: 1.094 kB / 406.6 MB, free: 11.62 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.00343/0.2824, allocations: 2.028 MB / 408.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.2824, allocations: 9.094 kB / 408.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006649/0.2831, allocations: 243.6 kB / 408.9 MB, free: 10 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001637/0.2848, allocations: 1.056 MB / 409.9 MB, free: 9.152 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.551e-05/0.2849, allocations: 115.6 kB / 410.1 MB, free: 9.098 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002051/0.2851, allocations: 156.4 kB / 410.2 MB, free: 9.043 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002393/0.2875, allocations: 1.432 MB / 411.6 MB, free: 8.148 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.503e-05/0.2875, allocations: 2.719 kB / 411.6 MB, free: 8.148 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.2876, allocations: 60.62 kB / 411.7 MB, free: 8.102 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.349e-05/0.2877, allocations: 37.34 kB / 411.7 MB, free: 8.102 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001807/0.2895, allocations: 0.9579 MB / 412.7 MB, free: 7.629 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007616/0.2971, allocations: 6.079 MB / 418.8 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.2982, allocations: 0.6559 MB / 419.4 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000401/0.2986, allocations: 238.1 kB / 419.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.019e-05/0.2987, allocations: 5.844 kB / 419.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.2987, allocations: 43.78 kB / 419.7 MB, free: 1.902 MB / 334.1 MB Notification: Performance of pre-optimization done (n=51): time 3.997e-06/0.2987, allocations: 0 / 419.7 MB, free: 1.902 MB / 334.1 MB Notification: Performance of matching and sorting (n=54): time 0.003098/0.3018, allocations: 1.712 MB / 421.4 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.3019, allocations: 87.16 kB / 421.5 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/0.3034, allocations: 1.123 MB / 422.6 MB, free: 36 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.494e-05/0.3034, allocations: 36.61 kB / 422.7 MB, free: 15.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005017/0.3039, allocations: 0.8147 MB / 423.5 MB, free: 15.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.3041, allocations: 205.8 kB / 423.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002302/0.3043, allocations: 176.8 kB / 423.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.3045, allocations: 346.7 kB / 424.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004758/0.3049, allocations: 250.6 kB / 424.4 MB, free: 14.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006971/0.3057, allocations: 0.6212 MB / 425.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.3068, allocations: 0.9106 MB / 426 MB, free: 12.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/0.3069, allocations: 7.938 kB / 426 MB, free: 12.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001633/0.3085, allocations: 0.9948 MB / 427 MB, free: 11.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.3085, allocations: 16.19 kB / 427 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.3086, allocations: 15.98 kB / 427 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001538/0.3087, allocations: 36.86 kB / 427 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007387/0.3095, allocations: 223.6 kB / 427.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009581/0.3104, allocations: 1.394 MB / 428.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007274/0.3112, allocations: 52.03 kB / 428.7 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.603e-05/0.3112, allocations: 48 kB / 428.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007692/0.312, allocations: 474 kB / 429.2 MB, free: 9.207 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005932/0.3126, allocations: 0.5939 MB / 429.8 MB, free: 8.434 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00101/0.3136, allocations: 0.8639 MB / 430.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.677e-06/0.3137, allocations: 7.984 kB / 430.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001474/0.3151, allocations: 0.9557 MB / 431.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.3152, allocations: 8 kB / 431.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.3152, allocations: 20 kB / 431.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.376e-05/0.3153, allocations: 40.84 kB / 431.7 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006602/0.316, allocations: 207.7 kB / 431.9 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008818/0.3168, allocations: 1.386 MB / 433.3 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006856/0.3175, allocations: 51.92 kB / 433.3 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.369e-05/0.3176, allocations: 48 kB / 433.4 MB, free: 4.52 MB / 350.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.000196/0.3178, allocations: 252.5 kB / 433.6 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.318, allocations: 114.6 kB / 433.7 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/0.319, allocations: 0.5634 MB / 434.3 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.3191, allocations: 7.984 kB / 434.3 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3191, allocations: 0 / 434.3 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003257/0.3194, allocations: 239.6 kB / 434.6 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.3195, allocations: 12 kB / 434.6 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004748/0.32, allocations: 31.97 kB / 434.6 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.063e-05/0.3201, allocations: 28.39 kB / 434.6 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001425/0.3215, allocations: 0.6174 MB / 435.2 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001348/0.3229, allocations: 0.936 MB / 436.2 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003555/0.3233, allocations: 215.4 kB / 436.4 MB, free: 1.449 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001005/0.3243, allocations: 0.7557 MB / 437.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of Backend: time 6.31e-07/0.3243, allocations: 0 / 437.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002281/0.3266, allocations: 1.195 MB / 438.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of SimCode: time 0.004172/0.3308, allocations: 3.02 MB / 441.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of Templates: time 0.0283/0.3591, allocations: 16.88 MB / 458.2 MB, free: 11.49 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/ControlledDCDrives/CurrentControlledDCPM/CurrentControlledDCPM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches