Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 116.5 kB / 18.41 MB, free: 4.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001426, allocations: 190.7 kB / 21.34 MB, free: 1.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 222.9 MB / 247.1 MB, free: 4.336 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 47.92 kB / 358.7 MB, free: 8.469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09214/0.09372, allocations: 49.43 MB / 408.1 MB, free: 6.988 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.01191/0.1057, allocations: 10.29 MB / 418.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006286/0.112, allocations: 3.209 MB / 421.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001423/0.1134, allocations: 51.81 kB / 421.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001817/0.1153, allocations: 0.6908 MB / 422.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002769/0.1181, allocations: 0.8737 MB / 423.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009374/0.119, allocations: 415.4 kB / 423.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004263/0.1233, allocations: 3.397 MB / 427 MB, free: 4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003408/0.1267, allocations: 2.603 MB / 429.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1991/0.3259, allocations: 1.511 MB / 431.1 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002886/0.3288, allocations: 1.848 MB / 433 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008051/0.3296, allocations: 398.6 kB / 433.4 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.3307, allocations: 487.1 kB / 433.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001032/0.3317, allocations: 1.106 MB / 435 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002818/0.3346, allocations: 1.785 MB / 436.7 MB, free: 6.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006805/0.3414, allocations: 5.218 MB / 442 MB, free: 6.199 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.3414, allocations: 0.75 kB / 442 MB, free: 6.199 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.426e-06/0.3414, allocations: 2.438 kB / 442 MB, free: 6.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001979/0.3416, allocations: 0 / 442 MB, free: 6.199 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.008929/0.3506, allocations: 3.609 MB / 445.6 MB, free: 4.676 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.3506, allocations: 9.531 kB / 445.6 MB, free: 4.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.3517, allocations: 368.3 kB / 445.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003228/0.3549, allocations: 1.927 MB / 447.9 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001549/0.3551, allocations: 199.5 kB / 448.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004479/0.3556, allocations: 261.7 kB / 448.3 MB, free: 3.953 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006468/0.362, allocations: 3.534 MB / 451.9 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.229e-05/0.3621, allocations: 10.7 kB / 451.9 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002672/0.3624, allocations: 103.7 kB / 452 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001205/0.3625, allocations: 112.1 kB / 452.1 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00529/0.3678, allocations: 3.101 MB / 455.2 MB, free: 2.773 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0176/0.3855, allocations: 10.76 MB / 465.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003615/0.3891, allocations: 3.077 MB / 469 MB, free: 8.879 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002189/0.3913, allocations: 1.387 MB / 470.4 MB, free: 8.207 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002904/0.3916, allocations: 127 kB / 470.5 MB, free: 8.098 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001769/0.3934, allocations: 1.145 MB / 471.7 MB, free: 7.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=156): time 4.248e-06/0.3934, allocations: 0 / 471.7 MB, free: 7.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=172): time 0.02161/0.415, allocations: 8.929 MB / 480.6 MB, free: 14.51 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/0.4152, allocations: 180.2 kB / 480.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003111/0.4183, allocations: 1.836 MB / 482.6 MB, free: 12.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000221/0.4186, allocations: 57.7 kB / 482.7 MB, free: 12.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001515/0.4201, allocations: 1.216 MB / 483.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007639/0.4208, allocations: 0.5899 MB / 484.5 MB, free: 10.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007087/0.4216, allocations: 355.4 kB / 484.8 MB, free: 10.24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.4217, allocations: 309.1 kB / 485.1 MB, free: 9.938 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001777/0.4235, allocations: 0.9955 MB / 486.1 MB, free: 8.941 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002024/0.4255, allocations: 1.437 MB / 487.6 MB, free: 7.355 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003671/0.4292, allocations: 2.451 MB / 490 MB, free: 4.797 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.4293, allocations: 4.656 kB / 490 MB, free: 4.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.006166/0.4354, allocations: 3.332 MB / 493.3 MB, free: 1.523 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/0.4355, allocations: 12 kB / 493.4 MB, free: 1.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/0.4355, allocations: 12 kB / 493.4 MB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002183/0.4377, allocations: 0.8852 MB / 494.3 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/0.439, allocations: 333.1 kB / 494.6 MB, free: 316 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01343/0.4524, allocations: 10.45 MB / 0.4932 GB, free: 5.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00202/0.4545, allocations: 131.9 kB / 0.4933 GB, free: 5.371 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002129/0.4547, allocations: 71.98 kB / 0.4934 GB, free: 5.301 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 24 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,switchYD.logicalDelay[3].tSwitch,$PRE.switchYD.logicalDelay[3].tSwitch,switchYD.logicalDelay[2].tSwitch,$PRE.switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[1].tSwitch,$PRE.switchYD.logicalDelay[1].tSwitch,switchYD.idealOpener.control[3],switchYD.idealOpener.control[2],switchYD.idealOpener.control[1],switchYD.idealCloser.control[3],switchYD.idealCloser.control[2],switchYD.idealCloser.control[1],idealCloser.control[3],idealCloser.control[2],idealCloser.control[1],$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (185): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (9,25,33.3%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001887/0.4566, allocations: 0.9259 MB / 0.4943 GB, free: 4.387 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004952/0.4571, allocations: 214.6 kB / 0.4945 GB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005862/0.463, allocations: 3.102 MB / 0.4975 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.985e-05/0.463, allocations: 20 kB / 0.4976 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/0.463, allocations: 8 kB / 0.4976 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.716e-05/0.4631, allocations: 7.969 kB / 0.4976 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01239/0.4754, allocations: 6.228 MB / 0.5036 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.505e-06/0.4755, allocations: 0 / 0.5036 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009785/0.4765, allocations: 210.5 kB / 0.5038 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002472/0.479, allocations: 0.9318 MB / 0.5048 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001637/0.4791, allocations: 39.98 kB / 0.5048 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01475/0.4939, allocations: 12.03 MB / 0.5165 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.494, allocations: 10.72 kB / 0.5166 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008369/0.5023, allocations: 4.523 MB / 0.521 GB, free: 8.508 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001407/0.5038, allocations: 0.5034 MB / 0.5215 GB, free: 7.984 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006228/0.5044, allocations: 36.38 kB / 0.5215 GB, free: 7.949 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/0.5058, allocations: 103.9 kB / 0.5216 GB, free: 7.848 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005367/0.5063, allocations: 203.6 kB / 0.5218 GB, free: 7.652 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/0.5065, allocations: 47.98 kB / 0.5218 GB, free: 7.605 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002423/0.5089, allocations: 1.258 MB / 0.5231 GB, free: 6.355 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5089, allocations: 0 / 0.5231 GB, free: 6.355 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002668/0.5116, allocations: 0.6328 MB / 0.5237 GB, free: 5.723 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 21 (booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[3].tSwitch) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (123): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,1,100.0%), (9,25,33.3%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005148/0.5121, allocations: 215.5 kB / 0.5239 GB, free: 5.516 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005806/0.5179, allocations: 3.248 MB / 0.5271 GB, free: 2.227 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/0.518, allocations: 5.938 kB / 0.5271 GB, free: 2.223 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003889/0.5219, allocations: 2.206 MB / 0.5292 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003758/0.5257, allocations: 0.5711 MB / 0.5298 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01174/0.5374, allocations: 5.785 MB / 0.5354 GB, free: 9.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002553/0.54, allocations: 2.149 MB / 0.5375 GB, free: 7.406 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007978/0.5408, allocations: 135.4 kB / 0.5377 GB, free: 7.273 MB / 446.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5408, allocations: 0 / 0.5377 GB, free: 7.273 MB / 446.1 MB Notification: Performance of Templates: time 0.3018/0.8426, allocations: 103 MB / 0.6382 GB, free: 156.2 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_YD/IMC_YD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.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: 15.030630718101747]