Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.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.001298/0.001298, 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.001423/0.001423, allocations: 216.6 kB / 24.49 MB, free: 3.93 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.439/1.439, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.DCMachines.DCPM_Drive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|coupling.w|coupling.tau|multiSensor.i|multiSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|coupling.w|coupling.tau|multiSensor.i|multiSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002423/0.002423, allocations: 55.91 kB / 379 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2631, allocations: 53.37 MB / 432.4 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive): time 0.02533/0.2884, allocations: 20.23 MB / 452.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01297/0.3014, allocations: 6.711 MB / 459.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003559/0.305, allocations: 123.3 kB / 459.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002451/0.3074, allocations: 0.8024 MB / 460.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002497/0.3099, allocations: 0.9379 MB / 461.2 MB, free: 9.762 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001448/0.3114, allocations: 0.8272 MB / 462 MB, free: 8.934 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003572/0.3149, allocations: 3.523 MB / 465.5 MB, free: 5.398 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001879/0.3168, allocations: 1.292 MB / 466.8 MB, free: 4.043 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001742/0.3185, allocations: 1.358 MB / 468.2 MB, free: 2.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/0.3201, allocations: 1.435 MB / 469.6 MB, free: 1.238 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004554/0.3206, allocations: 384 kB / 470 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006613/0.3212, allocations: 428 kB / 470.4 MB, free: 456 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006021/0.3218, allocations: 0.7165 MB / 471.1 MB, free: 15.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001314/0.3231, allocations: 1.318 MB / 472.4 MB, free: 14.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004731/0.3279, allocations: 4.612 MB / 477 MB, free: 9.773 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3279, allocations: 0 / 477 MB, free: 9.773 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3279, allocations: 0 / 477 MB, free: 9.773 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.769e-05/0.3279, allocations: 0 / 477 MB, free: 9.773 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 671 * Number of variables: 671 Notification: Performance of Generate backend data structure: time 0.005496/0.3334, allocations: 3.096 MB / 480.1 MB, free: 6.633 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.3335, allocations: 11.97 kB / 480.1 MB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009942/0.3345, allocations: 390.8 kB / 480.5 MB, free: 6.238 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002557/0.337, allocations: 1.43 MB / 482 MB, free: 4.766 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001662/0.3372, allocations: 197.6 kB / 482.1 MB, free: 4.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003816/0.3376, allocations: 275.9 kB / 482.4 MB, free: 4.301 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004573/0.3421, allocations: 2.682 MB / 485.1 MB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.514e-05/0.3422, allocations: 4 kB / 485.1 MB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00022/0.3424, allocations: 108 kB / 485.2 MB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.764e-05/0.3425, allocations: 64 kB / 485.3 MB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003391/0.3459, allocations: 1.686 MB / 487 MB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01263/0.3585, allocations: 9.168 MB / 496.1 MB, free: 5.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001766/0.3603, allocations: 0.7447 MB / 496.9 MB, free: 5.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/0.3613, allocations: 487.3 kB / 497.3 MB, free: 4.684 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.943e-05/0.3614, allocations: 13 kB / 497.4 MB, free: 4.672 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.3614, allocations: 43.56 kB / 497.4 MB, free: 4.617 MB / 398.1 MB Notification: Performance of pre-optimization done (n=84): time 2.985e-06/0.3614, allocations: 0 / 497.4 MB, free: 4.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=90): time 0.005126/0.3666, allocations: 2.595 MB / 500 MB, free: 1.996 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.183e-05/0.3666, allocations: 111.8 kB / 0.4884 GB, free: 1.863 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001922/0.3685, allocations: 1.456 MB / 0.4898 GB, free: 408 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.131e-05/0.3686, allocations: 45.7 kB / 0.4898 GB, free: 356 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009999/0.3696, allocations: 1.354 MB / 0.4912 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002958/0.3699, allocations: 361 kB / 0.4915 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000433/0.3703, allocations: 311.4 kB / 0.4918 GB, free: 14.31 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.3705, allocations: 301.1 kB / 0.4921 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008753/0.3713, allocations: 432.6 kB / 0.4925 GB, free: 13.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/0.3728, allocations: 1.184 MB / 0.4937 GB, free: 12.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002401/0.3752, allocations: 1.634 MB / 0.4953 GB, free: 10.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.484e-05/0.3752, allocations: 7.938 kB / 0.4953 GB, free: 10.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=217) (initialization): time 0.003116/0.3784, allocations: 1.7 MB / 0.4969 GB, free: 8.359 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.3784, allocations: 16.72 kB / 0.4969 GB, free: 8.344 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.948e-05/0.3784, allocations: 24 kB / 0.497 GB, free: 8.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001859/0.3786, allocations: 72.78 kB / 0.497 GB, free: 8.246 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/0.3799, allocations: 403.4 kB / 0.4974 GB, free: 7.852 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.3812, allocations: 1.343 MB / 0.4987 GB, free: 6.406 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.3822, allocations: 91.94 kB / 0.4988 GB, free: 6.316 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.3823, allocations: 84 kB / 0.4989 GB, free: 6.234 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001455/0.3838, allocations: 0.7539 MB / 0.4996 GB, free: 5.477 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001373/0.3851, allocations: 1.156 MB / 0.5008 GB, free: 3.969 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002184/0.3873, allocations: 1.591 MB / 0.5023 GB, free: 2.043 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.265e-05/0.3873, allocations: 8 kB / 0.5023 GB, free: 2.035 MB / 414.1 MB Notification: Performance of matching and sorting (n=217) (initialization_lambda0): time 0.002799/0.3901, allocations: 1.661 MB / 0.504 GB, free: 368 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.3902, allocations: 16 kB / 0.504 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.609e-05/0.3902, allocations: 28.8 kB / 0.504 GB, free: 324 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001266/0.3903, allocations: 64.83 kB / 0.5041 GB, free: 256 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/0.3916, allocations: 395.3 kB / 0.5044 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001088/0.3927, allocations: 1.339 MB / 0.5057 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009629/0.3936, allocations: 83.97 kB / 0.5058 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.3937, allocations: 84.16 kB / 0.5059 GB, free: 14.26 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 110 * Number of states: 0 () * Number of discrete variables: 3 (switch.control,dcdcInverter2.idealDcDc.powerController.local_reset,dcdcInverter1.idealDcDc.powerController.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 214 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003038/0.3941, allocations: 303.6 kB / 0.5062 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002228/0.3943, allocations: 174.9 kB / 0.5064 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001857/0.3961, allocations: 0.9095 MB / 0.5072 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.3961, allocations: 3.984 kB / 0.5073 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.3961, allocations: 0 / 0.5073 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005008/0.3966, allocations: 230.8 kB / 0.5075 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/0.3968, allocations: 20 kB / 0.5075 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006884/0.3975, allocations: 51.95 kB / 0.5075 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.3976, allocations: 60.88 kB / 0.5076 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002653/0.4003, allocations: 0.9983 MB / 0.5086 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002457/0.4027, allocations: 1.453 MB / 0.51 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006553/0.4034, allocations: 331.8 kB / 0.5103 GB, free: 9.691 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001328/0.4047, allocations: 0.93 MB / 0.5112 GB, free: 8.766 MB / 430.1 MB Notification: Performance of Backend: time 4.11e-07/0.4047, allocations: 4 kB / 0.5112 GB, free: 8.762 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003353/0.4081, allocations: 1.787 MB / 0.513 GB, free: 6.957 MB / 430.1 MB Notification: Performance of SimCode: time 0.006737/0.4148, allocations: 4.502 MB / 0.5174 GB, free: 2.41 MB / 430.1 MB Notification: Performance of Templates: time 0.214/0.6288, allocations: 29.46 MB / 0.5461 GB, free: 100.5 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Drive/DCPM_Drive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.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.549894677998964]