Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.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.SpeedControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|armatureInverter.iDCFilter.y|armatureInverter.idealDcDc.deadTime.y|armatureInverter.idealDcDc.powerController.y|armatureInverter.iMotFilter.y|armatureInverter.vDCFilter.y|armatureInverter.vMotFilter.y|currentController.integrator.y|dcpm.la.i|loadInertia.phi|loadInertia.w|preFilter.y|slewRateLimiter.y|speedController.integrator.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM") translateModel(Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|armatureInverter.iDCFilter.y|armatureInverter.idealDcDc.deadTime.y|armatureInverter.idealDcDc.powerController.y|armatureInverter.iMotFilter.y|armatureInverter.vDCFilter.y|armatureInverter.vMotFilter.y|currentController.integrator.y|dcpm.la.i|loadInertia.phi|loadInertia.w|preFilter.y|slewRateLimiter.y|speedController.integrator.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 112.3 kB / 18.41 MB, free: 4.695 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.001108/0.001108, allocations: 182.2 kB / 19.34 MB, free: 3.777 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.271/1.271, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001166/0.001166, allocations: 47.92 kB / 329.2 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07127/0.07245, allocations: 46.62 MB / 375.9 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM): time 0.1593/0.2318, allocations: 14.57 MB / 390.4 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008373/0.2402, allocations: 5.361 MB / 395.8 MB, free: 1.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001991/0.2422, allocations: 63.06 kB / 395.8 MB, free: 1.234 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002418/0.2447, allocations: 0.9536 MB / 396.8 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001573/0.2463, allocations: 0.6318 MB / 397.4 MB, free: 268 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.2473, allocations: 0.6029 MB / 398 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002197/0.2495, allocations: 2.402 MB / 400.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00151/0.2511, allocations: 1.203 MB / 401.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009638/0.252, allocations: 0.8725 MB / 402.5 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009733/0.253, allocations: 0.9626 MB / 403.5 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002684/0.2533, allocations: 250.4 kB / 403.7 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004372/0.2538, allocations: 289.3 kB / 404 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003747/0.2541, allocations: 492.2 kB / 404.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009233/0.2551, allocations: 1.077 MB / 405.6 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002721/0.2578, allocations: 3.011 MB / 408.6 MB, free: 10.1 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.2578, allocations: 0 / 408.6 MB, free: 10.1 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2578, allocations: 5.062 kB / 408.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.955e-05/0.2579, allocations: 0 / 408.6 MB, free: 10.09 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: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.003748/0.2616, allocations: 2.245 MB / 410.8 MB, free: 8.441 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.2617, allocations: 9.281 kB / 410.8 MB, free: 8.441 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000755/0.2624, allocations: 268 kB / 411.1 MB, free: 8.316 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001853/0.2643, allocations: 1.162 MB / 412.2 MB, free: 7.387 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.2644, allocations: 123.9 kB / 412.4 MB, free: 7.332 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002118/0.2646, allocations: 173.4 kB / 412.5 MB, free: 7.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002799/0.2674, allocations: 1.601 MB / 414.1 MB, free: 6.273 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.184e-05/0.2675, allocations: 6.609 kB / 414.1 MB, free: 6.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/0.2676, allocations: 67.62 kB / 414.2 MB, free: 6.219 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.315e-05/0.2677, allocations: 43.75 kB / 414.3 MB, free: 6.215 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002175/0.2698, allocations: 1.083 MB / 415.3 MB, free: 5.688 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00819/0.278, allocations: 6.602 MB / 421.9 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/0.2798, allocations: 0.941 MB / 422.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000587/0.2804, allocations: 307.7 kB / 423.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.969e-05/0.2805, allocations: 11.38 kB / 423.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.2805, allocations: 37.81 kB / 423.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=61): time 2.634e-06/0.2805, allocations: 4 kB / 423.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=64): time 0.003876/0.2844, allocations: 2.036 MB / 425.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.2845, allocations: 89.66 kB / 425.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001693/0.2862, allocations: 1.273 MB / 426.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/0.2862, allocations: 37.7 kB / 426.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005995/0.2868, allocations: 0.8881 MB / 427.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001801/0.287, allocations: 244.5 kB / 427.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002638/0.2873, allocations: 199.8 kB / 428 MB, free: 10.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.2874, allocations: 349.9 kB / 428.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006553/0.2881, allocations: 306 kB / 428.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000892/0.289, allocations: 0.7002 MB / 429.3 MB, free: 9.383 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001557/0.2906, allocations: 1.051 MB / 430.4 MB, free: 8.148 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.2906, allocations: 4 kB / 430.4 MB, free: 8.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002034/0.2926, allocations: 1.164 MB / 431.5 MB, free: 6.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.2927, allocations: 8 kB / 431.6 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.2927, allocations: 16 kB / 431.6 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001519/0.2928, allocations: 40.83 kB / 431.6 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009127/0.2938, allocations: 267.9 kB / 431.9 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/0.2948, allocations: 1.394 MB / 433.3 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000786/0.2956, allocations: 67.81 kB / 433.3 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.262e-05/0.2957, allocations: 55.98 kB / 433.4 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009061/0.2966, allocations: 0.5143 MB / 433.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007848/0.2974, allocations: 0.6777 MB / 434.6 MB, free: 3.586 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001288/0.2987, allocations: 0.9893 MB / 435.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.832e-06/0.2987, allocations: 4 kB / 435.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=140) (initialization_lambda0): time 0.00173/0.3004, allocations: 1.09 MB / 436.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.3005, allocations: 15.98 kB / 436.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.3005, allocations: 16.7 kB / 436.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.792e-05/0.3006, allocations: 40.86 kB / 436.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008183/0.3014, allocations: 255.6 kB / 437 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000969/0.3024, allocations: 1.39 MB / 438.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000726/0.3031, allocations: 55.88 kB / 438.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.033e-05/0.3032, allocations: 48 kB / 438.5 MB, free: 15.34 MB / 366.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.0002218/0.3034, allocations: 259.3 kB / 438.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/0.3036, allocations: 134.3 kB / 438.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/0.3051, allocations: 0.6925 MB / 439.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.3051, allocations: 3.984 kB / 439.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3051, allocations: 0 / 439.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000358/0.3055, allocations: 275.3 kB / 439.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.3056, allocations: 12 kB / 439.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005853/0.3062, allocations: 35.97 kB / 439.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.792e-05/0.3063, allocations: 48.44 kB / 439.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002068/0.3084, allocations: 0.8038 MB / 440.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001832/0.3102, allocations: 1.132 MB / 441.9 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005207/0.3108, allocations: 272.3 kB / 442.1 MB, free: 11.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001147/0.3119, allocations: 0.8541 MB / 443 MB, free: 10.78 MB / 366.1 MB Notification: Performance of Backend: time 4.11e-07/0.3119, allocations: 0 / 443 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002604/0.3145, allocations: 1.357 MB / 444.3 MB, free: 9.391 MB / 366.1 MB Notification: Performance of SimCode: time 0.004669/0.3192, allocations: 3.336 MB / 447.7 MB, free: 6 MB / 366.1 MB Notification: Performance of Templates: time 0.0327/0.3519, allocations: 18.93 MB / 466.6 MB, free: 3.031 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/ControlledDCDrives/SpeedControlledDCPM/SpeedControlledDCPM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches